Template:Bouncetext.css: Difference between revisions
From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
OPShredder (talk | contribs) No edit summary Tag: Reverted |
OPShredder (talk | contribs) No edit summary Tags: Manual revert Reverted |
||
| Line 2: | Line 2: | ||
display: inline-block; | display: inline-block; | ||
animation: bounce 1.5s infinite; | animation: bounce 1.5s infinite; | ||
} | |||
@keyframes bounce { | @keyframes bounce { | ||
0% { | 0% { | ||
Revision as of 11:22, 23 December 2025
.bouncetext span {
display: inline-block;
animation: bounce 1.5s infinite;
}
@keyframes bounce {
0% {
transform: translate(0px, 0px);
}
10% {
transform: translate(0px, 3px);
}
20% {
transform: translate(0px, -3px);
}
30% {
transform: translate(-1px, 2px) rotate(-1deg);
}
40% {
transform: translate(1px, -2px) rotate(1deg);
}
50% {
transform: translate(-2px, 1px) rotate(-2deg);
}
60% {
transform: translate(2px, -1px) rotate(2deg);
}
70% {
transform: translate(1px, 2px) rotate(1deg);
}
80% {
transform: translate(-1px, -2px) rotate(-1deg);
}
85% {
transform: translate(2px, 1px) rotate(2deg);
}
90% {
transform: translate(-2px, -1px) rotate(-2deg);
}
100% {
transform: translate(0px, 0px);
}
}