Rotation: Difference between revisions

From pronounmail wiki
Jump to navigation Jump to search
No edit summary
Teetow (talk | contribs)
m prevent silly janky scrollbar
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{See also|Spinning}}
[[File:Maxwell.gif]]
[[File:Maxwell.gif]]


{{Tombox | text = <div class="spin">I am currently in rotation.</div> | image = <div class="rotate">[[File:InfoTom.png|40px]]</div>}}
<div class="around">[[File:JankMan.svg|50px]]</div>
 
{{Tombox | 1 = <div class="spin">I am currently in '''rotation'''.</div> | 3 = <div class="rotate">[[File:InfoTom.png|40px]]</div>}}


{{#css:
{{#css:
Line 18: Line 22:
animation-iteration-count: infinite;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-timing-function: linear;
transform-origin: 5.5em;
transform-origin: 8.5em;
}
 
.around {
display: inline-block;
animation-duration: 7s;
animation-name: around;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
 
span {
animation-duration: 9s;
animation-name: spin;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
}


Line 41: Line 60:
100% {
100% {
transform: rotateY(1turn);
transform: rotateY(1turn);
}
}
@keyframes around {
0% {
translate: 0;
}
33% {
translate: 50vw 0;
}
50% {
translate: 50vw -25vw;
}
83% {
translate: 0 -25vw;
}
100% {
translate: 0 0;
}
}
@keyframes roll {
0% {
rotate: 0
}
100% {
rotate: x 1turn
}
}



Latest revision as of 13:31, 18 May 2025

See also: Spinning