CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
JavaScript Jungle
Fade Text out after specific time
Rugg
Permalink to comment
#
March 2011
Hello…I am curious if anybody is familiar with a way to fade text in and then have it fade away after a few seconds?
here is an example:
(the text reading "costume")
http://rickardsund.com/costume/1/
Thank You
SgtLegend
Permalink to comment
#
March 2011
You should be able to simply use
$(function() {
$('#element').delay(miliseconds).fadeOut();
});
Rugg
Permalink to comment
#
March 2011
ok thanks…i will give it a try
Add a Comment
here is an example:
(the text reading "costume")
http://rickardsund.com/costume/1/
Thank You