How can I pulse the glow effect in HTML

Posted on 2015-01-28
Last Modified: 2015-01-28
Hi all,

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

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,
Question by:jatkin
  • 4
  • 2
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:

Author Comment

ID: 40575319
That looks almost perfect!
How do I do this effect continuously without intervention from the user?
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.
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

LVL 25

Accepted Solution

Kyle Hamilton earned 500 total points
ID: 40575345

Author Closing Comment

ID: 40575352
Thanks so much for such a quick response :-)
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40575373

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

773 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