[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How can I pulse the glow effect in HTML

Posted on 2015-01-28
6
Medium Priority
?
605 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Suggested Courses

650 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