Datasets:
Download data/val/codepen-nqJGpD-eYVVge/full.html from anim2code/dataset: direct link, hf CLI and curl.
- Browser
- Download file 3.27 kB
-
https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/val/codepen-nqJGpD-eYVVge/full.html
- Command line
-
hf download hf://datasets/anim2code/dataset/data/val/codepen-nqJGpD-eYVVge/full.html
-
curl -L -o full.html https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/val/codepen-nqJGpD-eYVVge/full.html
3.27 kB
| <html> | |
| <head> | |
| <style>/** | |
| * Document defaults | |
| */ | |
| body { | |
| text-align: center; | |
| background-color: #eee; | |
| } | |
| * { | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| /* The loader */ | |
| .loader { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| overflow: hidden; | |
| width: 200px; | |
| height: 200px; | |
| margin-top: -100px; | |
| margin-left: -100px; | |
| perspective: 600px; | |
| transform-style: perserve-3d; | |
| } | |
| /* The dot */ | |
| .dot { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 20px; | |
| height: 20px; | |
| margin-left: -10px; | |
| margin-top: -10px; | |
| border-radius: 100px; | |
| background-color: #1e3f57; | |
| transform-style: perserve-3d; | |
| transform: rotateZ(0) translateY(0) scaleX(1); | |
| animation: dot 2200ms cubic-bezier(.39,.24,.63,.74) infinite; | |
| } | |
| .dot:nth-child(2) { animation-name: dot2; } | |
| .dot:nth-child(3) { animation-name: dot3; } | |
| .dot:nth-child(4) { animation-name: dot4; } | |
| @keyframes dot { | |
| 0% { | |
| transform: rotateZ(0) translateY(0) scaleX(1); | |
| background-color: #1e3f57; | |
| } | |
| 30% { | |
| transform: rotateZ(180deg) translateY(-20px) scaleX(1); | |
| background-color: #3c617d; | |
| } | |
| 50% { | |
| transform: rotateZ(360deg) translateY(-20px) scaleX(1.1); | |
| background-color: #6bb2cd; | |
| } | |
| 70% { | |
| transform: rotateZ(540deg) translateY(-20px) scaleX(1); | |
| background-color: #3c617d; | |
| } | |
| 100% { | |
| transform: rotateZ(720deg) translateY(0) scaleX(1); | |
| background-color: #1e3f57; | |
| } | |
| } | |
| @keyframes dot2 { | |
| 0% { | |
| transform: rotateZ(0deg) translateY(0) scaleX(1); | |
| background-color: #1e3f57; | |
| } | |
| 30% { | |
| transform: rotateZ(180deg) translateY(-20px) scaleX(1); | |
| background-color: #3c617d; | |
| } | |
| 50% { | |
| transform: rotateZ(270deg) translateY(-20px) scaleX(1.1); | |
| background-color: #6bb2cd; | |
| } | |
| 70% { | |
| transform: rotateZ(360deg) translateY(-20px) scaleX(1); | |
| background-color: #3c617d; | |
| } | |
| 100% { | |
| transform: rotateZ(540deg) translateY(0) scaleX(1); | |
| background-color: #1e3f57; | |
| } | |
| } | |
| @keyframes dot3 { | |
| 0% { | |
| transform: rotateZ(-180deg) translateY(0) scaleX(1); | |
| background-color: #1e3f57; | |
| } | |
| 30% { | |
| transform: rotateZ(0deg) translateY(-20px) scaleX(1); | |
| background-color: #3c617d; | |
| } | |
| 50% { | |
| transform: rotateZ(180deg) translateY(-20px) scaleX(1.1); | |
| background-color: #6bb2cd; | |
| } | |
| 70% { | |
| transform: rotateZ(360deg) translateY(-20px) scaleX(1); | |
| background-color: #3c617d; | |
| } | |
| 100% { | |
| transform: rotateZ(540deg) translateY(0) scaleX(1); | |
| background-color: #1e3f57; | |
| } | |
| } | |
| @keyframes dot4 { | |
| 0% { | |
| transform: rotateZ(-180deg) translateY(0) scaleX(1); | |
| background-color: #1e3f57; | |
| } | |
| 30% { | |
| transform: rotateZ(0deg) translateY(-20px) scaleX(1); | |
| background-color: #3c617d; | |
| } | |
| 50% { | |
| transform: rotateZ(90deg) translateY(-20px) scaleX(1.1); | |
| background-color: #6bb2cd; | |
| } | |
| 70% { | |
| transform: rotateZ(180deg) translateY(-20px) scaleX(1); | |
| background-color: #3c617d; | |
| } | |
| 100% { | |
| transform: rotateZ(360deg) translateY(0) scaleX(1); | |
| background-color: #1e3f57; | |
| } | |
| }</style> | |
| </head> | |
| <body> | |
| <div class="loader"> | |
| <div class="dot"></div> | |
| <div class="dot"></div> | |
| <div class="dot"></div> | |
| <div class="dot"></div> | |
| </div> | |
| <script></script> | |
| </body> | |
| </html> |