Datasets:
Download data/test/codepen-DbqLwL-BxPgRB/full.html from anim2code/dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.58 kB
-
https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/test/codepen-DbqLwL-BxPgRB/full.html
- Command line
-
hf download hf://datasets/anim2code/dataset/data/test/codepen-DbqLwL-BxPgRB/full.html
-
curl -L -o full.html https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/test/codepen-DbqLwL-BxPgRB/full.html
2.58 kB
| <html> | |
| <head> | |
| <style>.mouse {fill:#E5E4E3;} | |
| .tulip {fill:#CC2954;} | |
| .dandelion {fill:#FFB727;} | |
| .pumpkin {fill:#FF7733;} | |
| .lime {fill:#F2F230;} | |
| .grass {fill:#76CC4A;} | |
| .turquoise {fill: #36B29A;} | |
| .sapphire {fill:#2B4099;} | |
| .grape {fill:#78288C;} | |
| .star { | |
| animation-name: star; | |
| animation-duration: 20s; | |
| animation-iteration-count: infinite; | |
| animation-timing-function: linear; | |
| transform-origin: 50% 50%; | |
| } | |
| @keyframes star { | |
| 0% { transform: rotate(0deg);} | |
| 100% { transform: rotate(360deg);} | |
| } | |
| .opa-01, .opa-02, .opa-03, .opa-04, .opa-05, .opa-06, .opa-07, .opa-08 { | |
| animation-duration: 5s; | |
| animation-iteration-count: infinite; | |
| animation-timing-function: linear; | |
| animation-direction: alternate-reverse; | |
| } | |
| .opa-01 { animation-name: opaOne;} | |
| .opa-02 { animation-name: opaTwo;} | |
| .opa-03 { animation-name: opaThree;} | |
| .opa-04 { animation-name: opaFour;} | |
| .opa-05 { animation-name: opaFive;} | |
| .opa-06 { animation-name: opaSix;} | |
| .opa-07 { animation-name: opaSeven;} | |
| .opa-08 { animation-name: opaEight;} | |
| @keyframes opaOne { | |
| 0% { opacity: 0.1; } | |
| 100% { opacity: 0.5; } | |
| } | |
| @keyframes opaTwo { | |
| 0% { opacity: 0.1; } | |
| 100% { opacity: 0.5; } | |
| } | |
| @keyframes opaThree { | |
| 0% { opacity: 0.1; } | |
| 100% { opacity: 0.5; } | |
| } | |
| @keyframes opaFour { | |
| 0% { opacity: 0.1; } | |
| 100% { opacity: 0.5; } | |
| } | |
| @keyframes opaFive { | |
| 0% { opacity: 0.1; } | |
| 100% { opacity: 0.5; } | |
| } | |
| @keyframes opaSix { | |
| 0% { opacity: 0.1; } | |
| 100% { opacity: 0.5; } | |
| } | |
| @keyframes opaSeven { | |
| 0% { opacity: 0.1; } | |
| 100% { opacity: 0.5; } | |
| } | |
| @keyframes opaEight { | |
| 0% { opacity: 0.1; } | |
| 100% { opacity: 0.5; } | |
| }</style> | |
| </head> | |
| <body> | |
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 300"> | |
| <rect class="mouse" x="0" y="0" width="800" height="300"/> | |
| <g class="star"> | |
| <polygon class="opa-01 pumpkin" points="400, 190, 340, 105, 400, 20, 460, 105"/> | |
| <polygon class="opa-02 dandelion" points="474.2, 160.6, 371.7, 178.3, 389.4, 75.8, 491.9, 58.1"/> | |
| <polygon class="opa-03 lime" points=" 360, 150, 445, 90, 530, 150, 445, 210"/> | |
| <polygon class="opa-04 grass" points="371.7, 121.7, 474.2, 139.4, 491.9, 241.9, 389.4, 224.2"/> | |
| <polygon class="opa-05 turquoise" points="400, 280, 340, 195, 400, 110, 460, 195"/> | |
| <polygon class="opa-06 sapphire" points="410.6, 224.2, 308.1, 241.9, 325.8, 139.4, 428.3, 121.7"/> | |
| <polygon class="opa-07 grape" points="355, 210, 270, 150, 355, 90, 440, 150"/> | |
| <polygon class="opa-08 tulip" points="428.3, 178.3, 325.8, 160.6, 308.1, 58.1, 410.6, 75.8"/> | |
| </g> | |
| </svg> | |
| <script></script> | |
| </body> | |
| </html> |