?
Solved

How can I pulse the glow effect in HTML

Posted on 2015-01-28
6
Medium Priority
?
548 Views
Last Modified: 2015-01-28
Hi all,

I would like some HTML text to have a glow effect; something like this:
<!doctype html>
<html>
<head>
<style>
h1 {
    text-shadow: 0 0 3px #FF0000;
    color: white;
}
</style>
</head>
<body>
<h1>Text-shadow with red neon glow</h1>
</body>
</html>

Open in new window

However, I would like either the glow or text color to fade between two colors, to bring this section to the operators attention.
I need to be able to use this code in IE11, Firefox and Chrome.
Any idea how I can achieve this?
Any help would be appreciated.
Many thanks,
James
0
Comment
Question by:James Atkin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40575313
you can use js to add a class, and a timeout to remove the class. the fade effect can be achieved with a css transition.

Here is a fiddle. Click on the text:
http://jsfiddle.net/9j01fbsz/
0
 
LVL 4

Author Comment

by:James Atkin
ID: 40575319
That looks almost perfect!
How do I do this effect continuously without intervention from the user?
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40575336
you could do it on page load.. not sure that's what you want though - it would be pretty annoying. hold on, let me modify the script.
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 2000 total points
ID: 40575345
0
 
LVL 4

Author Closing Comment

by:James Atkin
ID: 40575352
Perfect!!
Thanks so much for such a quick response :-)
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40575373
;)
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question