Datasets:
Download data/train/codepen-ABKVZX-nNgeLx/full.html from anim2code/dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.95 kB
-
https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/train/codepen-ABKVZX-nNgeLx/full.html
- Command line
-
hf download hf://datasets/anim2code/dataset/data/train/codepen-ABKVZX-nNgeLx/full.html
-
curl -L -o full.html https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/train/codepen-ABKVZX-nNgeLx/full.html
1.95 kB
| <html> | |
| <head> | |
| <style>/** | |
| * This work is licensed under the Creative Commons | |
| * Attribution 3.0 Unported License. To view a copy | |
| * of this license, visit http://creativecommons.org/licenses/by/3.0/. | |
| * | |
| * Author: Girish Sharma <scrapmachines@gmail.com> | |
| */ | |
| /* Demo specific styles begin */ | |
| * {margin: 0; padding: 0;} | |
| body { | |
| background: #eee; | |
| } | |
| .loader-3d { | |
| top: calc(50% - 50px); | |
| left: calc(50% - 100px); | |
| position: absolute ; | |
| } | |
| /* Demo specific styles end */ | |
| .loader-3d, .loader-3d:before, .loader-3d:after { | |
| width: 200px; | |
| height: 20px; | |
| position: absolute; | |
| background-image: radial-gradient(closest-side, #111 100%, transparent), radial-gradient(closest-side, #111 100%, transparent); | |
| background-size: 20px 20px, 20px 20px; | |
| background-position: 0% center, 100% center; | |
| background-repeat: no-repeat; | |
| animation: slide 1.5s cubic-bezier(.5,0,.5,1) infinite, zoom ease-out .75s infinite alternate, center-margin ease-out .75s infinite alternate; | |
| opacity: 0; | |
| content: ''; | |
| } | |
| .loader-3d { | |
| animation: slide 1.5s cubic-bezier(.5,0,.5,1) .5s infinite, zoom ease-out .75s infinite .5s alternate, center-padding ease-out .75s infinite .5s alternate ; | |
| background-origin: content-box ; | |
| height: 100px; | |
| opacity: 1; | |
| } | |
| .loader-3d:after { | |
| animation-delay: 1s; | |
| } | |
| @keyframes slide { | |
| 0% { | |
| background-position: 0, 100%; | |
| opacity: 1; | |
| } | |
| 0.001% { | |
| background-position: 0 0, 100% 100%; | |
| } | |
| 99.999% { | |
| background-position: 100% 0, 0 100%; | |
| } | |
| to { | |
| background-position: 100%, 0; | |
| opacity: 1; | |
| } | |
| } | |
| @keyframes zoom { | |
| to { | |
| background-size: 40px 40px, 10px 10px; | |
| } | |
| } | |
| @keyframes center-margin { | |
| from { | |
| top: calc(50% - 10px); | |
| } | |
| to { | |
| top: 0; | |
| height: 100px | |
| } | |
| } | |
| @keyframes center-padding { | |
| from { | |
| padding: 40px 0; | |
| height: 20px; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="loader-3d"></div> | |
| <script></script> | |
| </body> | |
| </html> |