Datasets:
Download data/test/codepen-DrPkOq-MWWvRRR/full.html from anim2code/dataset: direct link, hf CLI and curl.
- Browser
- Download file 911 Bytes
-
https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/test/codepen-DrPkOq-MWWvRRR/full.html
- Command line
-
hf download hf://datasets/anim2code/dataset/data/test/codepen-DrPkOq-MWWvRRR/full.html
-
curl -L -o full.html https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/test/codepen-DrPkOq-MWWvRRR/full.html
911 Bytes
| <html> | |
| <head> | |
| <style>body { | |
| display: flex; | |
| height: 100vh; | |
| justify-content: center; | |
| align-items: center; | |
| text-align: center; | |
| background: #2980b9; } | |
| .loading { | |
| display: flex; | |
| color: white; | |
| font-size: 3em; | |
| text-transform: uppercase; } | |
| .loading span { | |
| padding: 0 20px; | |
| line-height: 100px; | |
| background: #34495e; | |
| animation: bulge 2s infinite; } | |
| @keyframes bulge { | |
| 50% { | |
| box-shadow: 0 20px 0 #eee; | |
| transform: translateY(-35px); } } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="loading">Loading</div> | |
| <script>var loading = document.querySelector(".loading"); | |
| var letters = loading.textContent.split(""); | |
| loading.textContent = ""; | |
| letters.forEach(function (letter, i) { | |
| var span = document.createElement("span"); | |
| span.textContent = letter; | |
| span.style.animationDelay = "".concat(i / 5, "s"); | |
| loading.append(span); | |
| }); | |
| </script> | |
| </body> | |
| </html> |