Datasets:
Download data/test/codepen-XoYpMj-YxPQyJ/full.html from Berkeley-NLP/animation2code: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/datasets/Berkeley-NLP/animation2code/resolve/main/data/test/codepen-XoYpMj-YxPQyJ/full.html
- Command line
-
hf download hf://datasets/Berkeley-NLP/animation2code/data/test/codepen-XoYpMj-YxPQyJ/full.html
-
curl -L -o full.html https://huggingface.co/datasets/Berkeley-NLP/animation2code/resolve/main/data/test/codepen-XoYpMj-YxPQyJ/full.html
1.91 kB
| <html> | |
| <head> | |
| <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Dosis:800"> | |
| <style>body { | |
| background: #000; | |
| height: 100vh; | |
| overflow: hidden; } | |
| #ui { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 500px; | |
| height: 500px; | |
| margin: -250px 0 0 -250px; } | |
| #ui .sun { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 300px; | |
| height: 150px; | |
| margin: -150px 0 0 -150px; | |
| border-radius: 300px 300px 0 0; | |
| background: red; | |
| z-index: 999; | |
| filter: blur(0px) contrast(10); } | |
| #ui .sea { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 500px; | |
| height: 500px; | |
| margin: -250px 0 0 -250px; | |
| background: #000; | |
| filter: blur(10px) contrast(30); } | |
| #ui .sea .wave { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 340px; | |
| height: 40px; | |
| margin: -20px 0 0 -170px; | |
| background: red; | |
| border-radius: 100%; } | |
| #ui .sea .wave:nth-child(2) { | |
| animation: wave 2000ms infinite linear -500ms; } | |
| #ui .sea .wave:nth-child(3) { | |
| animation: wave 2000ms infinite linear -1000ms; } | |
| #ui .sea .wave:nth-child(4) { | |
| animation: wave 2000ms infinite linear -1500ms; } | |
| #ui .sea .wave:nth-child(5) { | |
| animation: wave 2000ms infinite linear -1500ms; } | |
| #ui .sea .wave:nth-child(6) { | |
| animation: wave 2000ms infinite linear -2000ms; } | |
| @keyframes wave { | |
| 0% { | |
| transform: translateY(0) sclae(1) rotateZ(0); } | |
| 50% { | |
| transform: translateY(80px) scale(0.5) rotateZ(5deg); } | |
| 100% { | |
| transform: translateY(120px) scale(0) rotateZ(-40deg); } } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="ui"><div class="sun"></div><div class="sea"><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div></div></div> | |
| <script></script> | |
| </body> | |
| </html> |