Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> #myDIV { width: 300px; height: 200px; border: 15px solid black; -webkit-animation: mymove 5s infinite; /* Chrome, Safari, Opera */ animation: mymove 5s infinite; } /* Chrome, Safari, Opera */ @-webkit-keyframes mymove { 50% {border-top-color: lightblue;} } /* Standard syntax */ @keyframes mymove { 50% {border-top-color: lightblue;} } </style> </head> <body> <p>Gradually change the border-top-color property from black to blue then back:<p> <div id="myDIV"></div> <p>The border-top-color is <em>animatable</em> in CSS.</p> <p><b>Note:</b> 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_border-top-color by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:51:10 GMT --> </html>
Result:
Try it Yourself - © w3schools.com