Datasets:
Download data/test/codepen-XoYpMj-MWyBKBR/full.html from anim2code/dataset: direct link, hf CLI and curl.
- Browser
- Download file 8.45 kB
-
https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/test/codepen-XoYpMj-MWyBKBR/full.html
- Command line
-
hf download hf://datasets/anim2code/dataset/data/test/codepen-XoYpMj-MWyBKBR/full.html
-
curl -L -o full.html https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/test/codepen-XoYpMj-MWyBKBR/full.html
8.45 kB
| <html> | |
| <head> | |
| <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Anton"> | |
| <style>body { | |
| background: #f49095; | |
| height: 100vh; | |
| overflow: hidden; | |
| display: flex; | |
| font-family: 'Anton', sans-serif; | |
| justify-content: center; | |
| align-items: center; | |
| perspective: 600px; } | |
| div { | |
| transform-style: preserve-3d; } | |
| .panels { | |
| display: flex; | |
| flex-wrap: wrap; | |
| width: 400px; } | |
| .panel { | |
| width: 50px; | |
| height: 50px; | |
| border: 2px solid #006661; | |
| box-sizing: border-box; | |
| animation: box 3000ms cubic-bezier(0.645, 0.045, 0.355, 1) infinite; } | |
| .panel:nth-child(1) { | |
| animation-delay: 18ms; } | |
| .panel:nth-child(2) { | |
| animation-delay: 36ms; } | |
| .panel:nth-child(3) { | |
| animation-delay: 54ms; } | |
| .panel:nth-child(4) { | |
| animation-delay: 72ms; } | |
| .panel:nth-child(5) { | |
| animation-delay: 90ms; } | |
| .panel:nth-child(6) { | |
| animation-delay: 108ms; } | |
| .panel:nth-child(7) { | |
| animation-delay: 126ms; } | |
| .panel:nth-child(8) { | |
| animation-delay: 144ms; } | |
| .panel:nth-child(9) { | |
| animation-delay: 162ms; } | |
| .panel:nth-child(10) { | |
| animation-delay: 180ms; } | |
| .panel:nth-child(11) { | |
| animation-delay: 198ms; } | |
| .panel:nth-child(12) { | |
| animation-delay: 216ms; } | |
| .panel:nth-child(13) { | |
| animation-delay: 234ms; } | |
| .panel:nth-child(14) { | |
| animation-delay: 252ms; } | |
| .panel:nth-child(15) { | |
| animation-delay: 270ms; } | |
| .panel:nth-child(16) { | |
| animation-delay: 288ms; } | |
| .panel:nth-child(17) { | |
| animation-delay: 306ms; } | |
| .panel:nth-child(18) { | |
| animation-delay: 324ms; } | |
| .panel:nth-child(19) { | |
| animation-delay: 342ms; } | |
| .panel:nth-child(20) { | |
| animation-delay: 360ms; } | |
| .panel:nth-child(21) { | |
| animation-delay: 378ms; } | |
| .panel:nth-child(22) { | |
| animation-delay: 396ms; } | |
| .panel:nth-child(23) { | |
| animation-delay: 414ms; } | |
| .panel:nth-child(24) { | |
| animation-delay: 432ms; } | |
| .panel:nth-child(25) { | |
| animation-delay: 450ms; } | |
| .panel:nth-child(26) { | |
| animation-delay: 468ms; } | |
| .panel:nth-child(27) { | |
| animation-delay: 486ms; } | |
| .panel:nth-child(28) { | |
| animation-delay: 504ms; } | |
| .panel:nth-child(29) { | |
| animation-delay: 522ms; } | |
| .panel:nth-child(30) { | |
| animation-delay: 540ms; } | |
| .panel:nth-child(31) { | |
| animation-delay: 558ms; } | |
| .panel:nth-child(32) { | |
| animation-delay: 576ms; } | |
| .panel:nth-child(33) { | |
| animation-delay: 594ms; } | |
| .panel:nth-child(34) { | |
| animation-delay: 612ms; } | |
| .panel:nth-child(35) { | |
| animation-delay: 630ms; } | |
| .panel:nth-child(36) { | |
| animation-delay: 648ms; } | |
| .panel:nth-child(37) { | |
| animation-delay: 666ms; } | |
| .panel:nth-child(38) { | |
| animation-delay: 684ms; } | |
| .panel:nth-child(39) { | |
| animation-delay: 702ms; } | |
| .panel:nth-child(40) { | |
| animation-delay: 720ms; } | |
| .panel:nth-child(41) { | |
| animation-delay: 738ms; } | |
| .panel:nth-child(42) { | |
| animation-delay: 756ms; } | |
| .panel:nth-child(43) { | |
| animation-delay: 774ms; } | |
| .panel:nth-child(44) { | |
| animation-delay: 792ms; } | |
| .panel:nth-child(45) { | |
| animation-delay: 810ms; } | |
| .panel:nth-child(46) { | |
| animation-delay: 828ms; } | |
| .panel:nth-child(47) { | |
| animation-delay: 846ms; } | |
| .panel:nth-child(48) { | |
| animation-delay: 864ms; } | |
| .panel:nth-child(49) { | |
| animation-delay: 882ms; } | |
| .panel:nth-child(50) { | |
| animation-delay: 900ms; } | |
| .panel:nth-child(51) { | |
| animation-delay: 918ms; } | |
| .panel:nth-child(52) { | |
| animation-delay: 936ms; } | |
| .panel:nth-child(53) { | |
| animation-delay: 954ms; } | |
| .panel:nth-child(54) { | |
| animation-delay: 972ms; } | |
| .panel:nth-child(55) { | |
| animation-delay: 990ms; } | |
| .panel:nth-child(56) { | |
| animation-delay: 1008ms; } | |
| .panel:nth-child(57) { | |
| animation-delay: 1026ms; } | |
| .panel:nth-child(58) { | |
| animation-delay: 1044ms; } | |
| .panel:nth-child(59) { | |
| animation-delay: 1062ms; } | |
| .panel:nth-child(60) { | |
| animation-delay: 1080ms; } | |
| .panel:nth-child(61) { | |
| animation-delay: 1098ms; } | |
| .panel:nth-child(62) { | |
| animation-delay: 1116ms; } | |
| .panel:nth-child(63) { | |
| animation-delay: 1134ms; } | |
| .panel:nth-child(64) { | |
| animation-delay: 1152ms; } | |
| .panel:nth-child(65) { | |
| animation-delay: 1170ms; } | |
| .panel:nth-child(66) { | |
| animation-delay: 1188ms; } | |
| .panel:nth-child(67) { | |
| animation-delay: 1206ms; } | |
| .panel:nth-child(68) { | |
| animation-delay: 1224ms; } | |
| .panel:nth-child(69) { | |
| animation-delay: 1242ms; } | |
| .panel:nth-child(70) { | |
| animation-delay: 1260ms; } | |
| .panel:nth-child(71) { | |
| animation-delay: 1278ms; } | |
| .panel:nth-child(72) { | |
| animation-delay: 1296ms; } | |
| .panel:nth-child(73) { | |
| animation-delay: 1314ms; } | |
| .panel:nth-child(74) { | |
| animation-delay: 1332ms; } | |
| .panel:nth-child(75) { | |
| animation-delay: 1350ms; } | |
| .panel:nth-child(76) { | |
| animation-delay: 1368ms; } | |
| .panel:nth-child(77) { | |
| animation-delay: 1386ms; } | |
| .panel:nth-child(78) { | |
| animation-delay: 1404ms; } | |
| .panel:nth-child(79) { | |
| animation-delay: 1422ms; } | |
| .panel:nth-child(80) { | |
| animation-delay: 1440ms; } | |
| .panel:nth-child(81) { | |
| animation-delay: 1458ms; } | |
| .panel:nth-child(82) { | |
| animation-delay: 1476ms; } | |
| .panel:nth-child(83) { | |
| animation-delay: 1494ms; } | |
| .panel:nth-child(84) { | |
| animation-delay: 1512ms; } | |
| .panel:nth-child(85) { | |
| animation-delay: 1530ms; } | |
| .panel:nth-child(86) { | |
| animation-delay: 1548ms; } | |
| .panel:nth-child(87) { | |
| animation-delay: 1566ms; } | |
| .panel:nth-child(88) { | |
| animation-delay: 1584ms; } | |
| .panel:nth-child(89) { | |
| animation-delay: 1602ms; } | |
| .panel:nth-child(90) { | |
| animation-delay: 1620ms; } | |
| .panel:nth-child(91) { | |
| animation-delay: 1638ms; } | |
| .panel:nth-child(92) { | |
| animation-delay: 1656ms; } | |
| .panel:nth-child(93) { | |
| animation-delay: 1674ms; } | |
| .panel:nth-child(94) { | |
| animation-delay: 1692ms; } | |
| .panel:nth-child(95) { | |
| animation-delay: 1710ms; } | |
| .panel:nth-child(96) { | |
| animation-delay: 1728ms; } | |
| .panel:nth-child(97) { | |
| animation-delay: 1746ms; } | |
| .panel:nth-child(98) { | |
| animation-delay: 1764ms; } | |
| .panel:nth-child(99) { | |
| animation-delay: 1782ms; } | |
| .panel:nth-child(100) { | |
| animation-delay: 1800ms; } | |
| .camera { | |
| animation: cameraY 20000ms linear infinite; | |
| transform-style: preserve-3d; } | |
| @keyframes cameraY { | |
| 0% { | |
| transform: rotateY(0deg); } | |
| 100% { | |
| transform: rotateY(360deg); } } | |
| @keyframes box { | |
| 0% { | |
| transform: rotateY(0deg); } | |
| 20% { | |
| transform: rotateY(-180deg); } | |
| 40% { | |
| transform: rotateY(-180deg) rotateX(-180deg); } | |
| 60% { | |
| transform: rotateY(-180deg) rotateX(-180deg) translateZ(50px); } | |
| 80% { | |
| transform: rotateY(-180deg) rotateX(-180deg) translateZ(-50px) rotateZ(90deg); } | |
| 100% { | |
| transform: rotateY(-180deg) rotateX(-180deg) translateZ(0) rotateZ(90deg); } } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="camera"><div class="panels"><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div><div class="panel"></div></div></div> | |
| <script></script> | |
| </body> | |
| </html> |