CSS square to circle fade animation - HTML CSS CSS Animation

HTML CSS examples for CSS Animation:Fade

Description

CSS square to circle fade animation

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

div {<!-- w  w  w. j ava  2 s .  c  o m-->
   width:100px;
   height:100px;
   background:red;
   transition:all 1s;
   -webkit-transition:all 1s;
   -moz-transition:all 1s;
}
div:hover {
   border-radius:50%;
}


      </style> 
 </head> 
 <body> 
  <div></div>  
 </body>
</html>

Related Tutorials