Spinning: Difference between revisions
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
overflow-x: hidden; | overflow-x: hidden; | ||
} | } | ||
#content { | #content { | ||
animation: spin 1s linear infinite; | animation: spin 1s linear infinite; | ||
| Line 29: | Line 30: | ||
color: red; | color: red; | ||
font-weight: 900; | font-weight: 900; | ||
animation: 10s trans ease-out; | |||
} | |||
@keyframes trans { | |||
0% { | |||
transform: translateX(-50%) scale(5); | |||
opacity: 0; | |||
} | |||
100% { | |||
transform: translateX(0) scale(1); | |||
opacity: 1 | |||
} | |||
} | } | ||
}} | }} | ||