CSS3 adds several properties of the animation effects, by setting these attributes, can make some simple animations and don't have to use JavaScript. CSS3 animation attributes are divided into three categories: the transform, the transition and animation.
code is as follows:

<! PUBLIC DOCTYPE HTML "-///DTD/W3C XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > <HTML XMLNS="http://www.w3.org/1999/xhtml" > <Head> <Meta HTTP - equiv="content-type" Content="text/HTML; charset=utf-8"/> <Title> CSS3 animation </title> <The link type="text/CSS" rel="stylesheet" href="http://www.jb51.net//css/animation.css"/> </head> </p><P> <Body> <Div class="rotate" > Rotate