Datasets:
Download data/train/codepen-AGomeO-gRzbrN/full.html from anim2code/dataset: direct link, hf CLI and curl.
- Browser
- Download file 786 Bytes
-
https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/train/codepen-AGomeO-gRzbrN/full.html
- Command line
-
hf download hf://datasets/anim2code/dataset/data/train/codepen-AGomeO-gRzbrN/full.html
-
curl -L -o full.html https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/train/codepen-AGomeO-gRzbrN/full.html
786 Bytes
| <html> | |
| <head> | |
| <style>body { | |
| background-color: #DEF3F4; | |
| overflow: hidden; | |
| text-align: center; | |
| } | |
| body, | |
| html { | |
| height: 100%; | |
| width: 100%; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| #animationWindow { | |
| width: 100%; | |
| height: 100%; | |
| overflow:visible; | |
| position:relative; | |
| display:inline-block; | |
| }</style> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/4.8.0/bodymovin.min.js"></script> | |
| </head> | |
| <body> | |
| <div id="animationWindow"> | |
| </div> | |
| <script> var animData = { | |
| wrapper: document.querySelector('#animationWindow'), | |
| animType: 'svg', | |
| loop: true, | |
| prerender: true, | |
| autoplay: true, | |
| path: 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/35984/jump_loader.json' | |
| }; | |
| var anim = bodymovin.loadAnimation(animData); | |
| anim.setSpeed(1.42); | |
| </script> | |
| </body> | |
| </html> |