With the development of css3, more and more people are responsible for the brilliant effects that can be achieved by pure css. The animation effects implemented with css3 do not have to be inferior to those implemented by js, And the browser renders css much faster than Javascript. In most cases, css is smaller in size. Among them, the animation effect in css3 can achieve smooth and powerful animation effects. Let's take a look at the energy of css3.
The following describes an android boot animation and a cute Android robot, which is implemented by the pure css3 implemented by a blogger.
:
650) this. width = 650; "alt =" css3-android-animate "src =" http://www.bkjia.com/uploads/allimg/131228/1443102M1-0.jpg "width =" 240 "height =" 150 "style =" padding: 8px; margin: 10px 0px; border: 1px solid # dddddd; background-color: # f6f6f6; "/>
The following is a demo. Let's get started with it.
View demo
The old version is not compatible with the safari browser. The following is the modified version. The test is normal under safari.
After testing, it is found that safari does not support the animated effects of pseudo elements after and before. after the pseudo elements are replaced with div, safari runs normally.
View demo