Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> #myDIV { text-decoration: underline; animation: mymove 5s infinite; } @keyframes mymove { 50% { -moz-text-decoration-color: red; /* Firefox */ -text-decoration-color: red; } } </style> </head> <body> <p>Gradually change the color of the underline from black, to red, and back:<p> <div id="myDIV"> <p>This is a paragraph</p> </div> <p>The text-decoration-color is <em>animatable</em> in CSS.</p> <p><b>Note:</b> The text-decoration-color property is not supported in any of the major browsers.</p> <p><b>Note:</b> Firefox supports an alternative, the -moz-text-decoration-color property.</p> <p><strong>Note:</strong> CSS Animations do not work in Internet Explorer 9 and earlier versions.</p> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_anim_text-decoration-color by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:53:24 GMT --> </html>
Result:
Try it Yourself - © w3schools.com