HTML CSS examples for CSS Animation:Fade
CSS square to circle fade animation
<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>