<!DOCTYPE html>
<html>
<head>
<style>
#myDIV {
-webkit-animation: mymove 5s infinite; /* Chrome, Safari, Opera */
animation: mymove 5s infinite;
}
/* Chrome, Safari, Opera */
@-webkit-keyframes mymove {
50% {text-shadow: 10px 20px 30px blue;}
}
/* Standard syntax */
@keyframes mymove {
50% {text-shadow: 10px 20px 30px blue;}
}
</style>
</head>
<body>
<p>The text-shadow property is <em>animatable</em> in CSS.</p>
<p><strong>Note:</strong> CSS Animations do not work in Internet Explorer 9 and earlier versions.</p>
<p>Gradually change the text-shadow property:<p>
<div id="myDIV">
<h1>This is a header</h1>
<p>This is a paragraph</p>
</div>
</body>
</html>