Edit This Code:
See Result »
<!DOCTYPE html> <html> <head> <style> #myDIV { width: 300px; height: 200px; border: 1px solid black; -webkit-animation: mymove 5s infinite; /* Chrome, Safari, Opera */ animation: mymove 5s infinite; } /* Chrome, Safari, Opera */ @-webkit-keyframes mymove { 50% {border-top-left-radius: 50px;} } /* Standard syntax */ @keyframes mymove { 50% {border-top-left-radius: 50px;} } </style> </head> <body> <p>Gradually change the border-top-left-radius property from 0 to 50px then back:<p> <div id="myDIV"></div> <p>The border-top-left-radius 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-left-radius by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 Mar 2016 11:04:43 GMT --> </html>
Result: