Datasets:
Download data/test/codepen-DrPkOq-vYKVwgr/full.html from anim2code/dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/test/codepen-DrPkOq-vYKVwgr/full.html
- Command line
-
hf download hf://datasets/anim2code/dataset/data/test/codepen-DrPkOq-vYKVwgr/full.html
-
curl -L -o full.html https://huggingface.co/datasets/anim2code/dataset/resolve/main/data/test/codepen-DrPkOq-vYKVwgr/full.html
1.02 kB
| <html> | |
| <head> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@alphardex/aqua.css@1.5.5/dist/aqua.min.css"> | |
| <style>body { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| background: black; } | |
| :root { | |
| --primary-color: hsl(196, 78%, 61%); | |
| --info-color-transparent: rgba(95, 156, 236, 0.1); } | |
| @property --angle { | |
| syntax: "<angle>"; | |
| initial-value: 0deg; | |
| inherits: true; } | |
| .btn-shiny-border { | |
| --angle: 0deg; | |
| --color-1: var(--primary-color); | |
| --color-2: var(--info-color-transparent); | |
| --btn-bg: transparent; | |
| --btn-border-width: 0; | |
| --btn-radius: 0; | |
| color: white; | |
| border: 0.2rem solid; | |
| border-image: linear-gradient(var(--angle), var(--color-1) 10%, var(--color-2) 50%) 10; | |
| animation: spin-angle 1.6s linear infinite; } | |
| @keyframes spin-angle { | |
| from { | |
| --angle: 0deg; } | |
| to { | |
| --angle: 360deg; } } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="btn btn-shiny-border">Shiny Border</div> | |
| <script></script> | |
| </body> | |
| </html> |