css3 - Flip element with css continuously without action -


i want flip element continuously on y axis 0 360 degree css without action (button, hover).

some script allow 1 single time adding class, like: animate.css

and other flip on button press (http://desandro.github.io/3dtransforms/docs/card-flip.html) or on hover (http://davidwalsh.name/demo/css-flip.php)

.img:hover {    transform: rotatey(360deg);    transition: transform 10s; } 

that tried far, work once , on hover...

can me code?

use css animation infinite.

img {     -webkit-animation: anim 10s infinite linear;     animation: anim 10s infinite linear; }  @-webkit-keyframes anim {     {-webkit-transform: rotatey(0deg);}     {-webkit-transform: rotatey(360deg);} }  @keyframes anim {     {transform: rotatey(0deg);}     {transform: rotatey(360deg);} } 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -