Spaces:
Running
Running
Download style.css from kmsoln/pixel-loader-parade: direct link, hf CLI and curl.
- Browser
- Download file 2.6 kB
-
https://huggingface.co/spaces/kmsoln/pixel-loader-parade/resolve/main/style.css
- Command line
-
hf download hf://spaces/kmsoln/pixel-loader-parade/style.css
-
curl -L -o style.css https://huggingface.co/spaces/kmsoln/pixel-loader-parade/resolve/main/style.css
2.6 kB
| /* Keyframe animations for our pixel loaders */ | |
| @keyframes bounce { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-20px); } | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; transform: scale(1); } | |
| 50% { opacity: 0.5; transform: scale(0.8); } | |
| } | |
| @keyframes snake { | |
| 0% { left: 6px; top: 6px; } | |
| 25% { left: 26px; top: 6px; } | |
| 50% { left: 26px; top: 26px; } | |
| 75% { left: 6px; top: 26px; } | |
| 100% { left: 6px; top: 6px; } | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| @keyframes march { | |
| 0% { transform: translateX(0) translateY(0); } | |
| 100% { transform: translateX(10px) translateY(10px); } | |
| } | |
| @keyframes wave { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| @keyframes rain { | |
| 0% { transform: translateY(-20px); opacity: 0; } | |
| 100% { transform: translateY(20px); opacity: 1; } | |
| } | |
| @keyframes flip { | |
| 0%, 100% { transform: rotateY(0deg); } | |
| 50% { transform: rotateY(180deg); } | |
| } | |
| @keyframes orbit { | |
| 0% { transform: rotate(0deg) translateX(20px) rotate(0deg); } | |
| 100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); } | |
| } | |
| @keyframes heartbeat { | |
| 0%, 100% { transform: scale(1); } | |
| 25% { transform: scale(1.2); } | |
| 50% { transform: scale(1); } | |
| 75% { transform: scale(1.1); } | |
| } | |
| /* Apply animations to our loaders */ | |
| #loader1 .pixel { | |
| animation: bounce 1s infinite; | |
| } | |
| #loader2 .pixel { | |
| animation: pulse 1s infinite; | |
| } | |
| #loader3 .pixel:nth-child(1) { animation: snake 2s infinite; } | |
| #loader3 .pixel:nth-child(2) { animation: snake 2s infinite 0.5s; } | |
| #loader3 .pixel:nth-child(3) { animation: snake 2s infinite 1s; } | |
| #loader3 .pixel:nth-child(4) { animation: snake 2s infinite 1.5s; } | |
| #loader4 { | |
| animation: spin 2s linear infinite; | |
| } | |
| #loader5 .pixel { | |
| animation: march 1s infinite alternate; | |
| } | |
| #loader6 .pixel:nth-child(1) { animation: wave 1s infinite 0s; } | |
| #loader6 .pixel:nth-child(2) { animation: wave 1s infinite 0.2s; } | |
| #loader6 .pixel:nth-child(3) { animation: wave 1s infinite 0.4s; } | |
| #loader6 .pixel:nth-child(4) { animation: wave 1s infinite 0.6s; } | |
| #loader6 .pixel:nth-child(5) { animation: wave 1s infinite 0.8s; } | |
| #loader7 .pixel:nth-child(1) { animation: rain 1s infinite 0s; } | |
| #loader7 .pixel:nth-child(2) { animation: rain 1s infinite 0.2s; } | |
| #loader7 .pixel:nth-child(3) { animation: rain 1s infinite 0.4s; } | |
| #loader8 .pixel { | |
| animation: flip 1.5s infinite; | |
| } | |
| #loader9 .pixel { | |
| animation: orbit 2s linear infinite; | |
| } | |
| #loader10 { | |
| animation: heartbeat 1.5s infinite; | |
| } |