Rotation: Difference between revisions

Created page with "File:Maxwell.gif"
 
No edit summary
Line 1: Line 1:
[[File:Maxwell.gif]]
<div class="rotate">[[File:Maxwell.gif]]</div>
 
{{#css:
 
.rotate {
animation-duration: 10s;
animation-name: rotate;
animation-iteration-count: infinite;
animation-timing-function: linear;
transform-origin: 150px 150px;
}
 
@keyframes rotate {
 
0% {
transform: rotate(0);
}
 
100% {
transform: rotate(1turn);
}
 
}
 
}}