I haven’t really been able to find any good simple tutorials an animating a glow effect. How do I animate glowing on text?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to just use CSS3, you don’t even have to use any jQuery/JavaScript. Just do this in your CSS:
Here’s the fiddle: http://jsfiddle.net/zenjJ/
If you want the element to run on its own (without hovering), do this:
CSS:
JavaScript:
You can play around with the timing in the CSS/JavaScript to get the exact effect you’re looking for.
And finally, here’s the fiddle: http://jsfiddle.net/dH6LS/
Update Oct. 2013: being that all major browsers now support CSS animations, all you need is this:
Here’s the fiddle: http://jsfiddle.net/dH6LS/689/
Don’t forget to include all the different vendor prefixes in production.