Datasets:
Download data/val/codepen-XoYpMj-eRroXy/full.html from anim2code/dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.98 kB
-
https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/val/codepen-XoYpMj-eRroXy/full.html
- Command line
-
hf download hf://datasets/anim2code/dataset/data/val/codepen-XoYpMj-eRroXy/full.html
-
curl -L -o full.html https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/val/codepen-XoYpMj-eRroXy/full.html
1.98 kB
| <html> | |
| <head> | |
| <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Dosis:800"> | |
| <style>html { | |
| position: relative; | |
| width: 100%; | |
| height: 100%; | |
| overflow: hidden; } | |
| body { | |
| position: relative; | |
| background: #333; | |
| height: 100vh; | |
| overflow: hidden; | |
| margin: 0; | |
| padding: 0; } | |
| #ui { | |
| width: 300px; | |
| height: 300px; } | |
| #ui .ball { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| height: 20px; | |
| margin-top: -10px; | |
| transform-origin: 0 50%; | |
| opacity: 0.7; } | |
| #ui .ball:nth-child(1) { | |
| width: 150px; | |
| animation: rotation 3000ms linear infinite; } | |
| #ui .ball:nth-child(2) { | |
| width: 130px; | |
| animation: rotation 2800ms linear infinite; } | |
| #ui .ball:nth-child(3) { | |
| width: 110px; | |
| animation: rotation 2600ms linear infinite; } | |
| #ui .ball:nth-child(4) { | |
| width: 90px; | |
| animation: rotation 2400ms linear infinite; } | |
| #ui .ball:nth-child(5) { | |
| width: 70px; | |
| animation: rotation 2200ms linear infinite; } | |
| #ui .ball:nth-child(6) { | |
| width: 50px; | |
| animation: rotation 2000ms linear infinite; } | |
| #ui .ball:before { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| right: 0; | |
| width: 35px; | |
| height: 20px; | |
| background: #fff; | |
| border-radius: 100%; | |
| opacity: 0.7; | |
| box-shadow: 0 0 20px 30px #fff; } | |
| #ui .ball:after { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| right: 20px; | |
| width: 20px; | |
| height: 20px; | |
| background: #fff; | |
| border-radius: 100%; | |
| box-shadow: 0 0 10px 20px #fff; } | |
| @keyframes rotation { | |
| 0% { | |
| transform: rotateZ(0deg) scale(1.5); | |
| opacity: 0; } | |
| 100% { | |
| transform: rotateZ(360deg) scale(0); | |
| opacity: 1; } } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="ui"><div class="ball"></div><div class="ball"></div><div class="ball"></div><div class="ball"></div><div class="ball"></div><div class="ball"></div></div> | |
| <script></script> | |
| </body> | |
| </html> |