Spaces:
Running
Running
Download assets/ui/plane/interactive.html from u11310019/Web-Generator: direct link, hf CLI and curl.
- Browser
- Download file 2.43 kB
-
https://huggingface.co/spaces/u11310019/Web-Generator/resolve/main/assets/ui/plane/interactive.html
- Command line
-
hf download hf://spaces/u11310019/Web-Generator/assets/ui/plane/interactive.html
-
curl -L -o interactive.html https://huggingface.co/spaces/u11310019/Web-Generator/resolve/main/assets/ui/plane/interactive.html
2.43 kB
| <html lang="zh-Hant"> | |
| <head><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'none'; style-src 'unsafe-inline'; img-src data:; connect-src 'none'; font-src 'none'; frame-src 'none'; worker-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'"><meta name="referrer" content="no-referrer"> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>紙飛機懸浮卡片</title> | |
| <style> | |
| /* From Uiverse.io by Adrwaan */ | |
| .card { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| position: relative; | |
| width: 190px; | |
| height: 254px; | |
| background: #434343; | |
| border-radius: 10px; | |
| } | |
| .card::before { | |
| content: ""; | |
| position: absolute; | |
| width: 190px; | |
| height: 254px; | |
| background-color: tomato; | |
| border-radius: 10px; | |
| z-index: -1; | |
| transition: all 0.4s; | |
| animation: animate 5s linear infinite; | |
| } | |
| .card:hover::before { | |
| width: 197px; | |
| height: 259px; | |
| } | |
| .card:hover .paperplane { | |
| transform: scale(1.07) translateY(-10%) rotate(18deg); | |
| } | |
| .paperplane { | |
| fill: #888; | |
| width: 70px; | |
| transition: 0.4s all; | |
| } | |
| @keyframes animate { | |
| 50% { | |
| filter: hue-rotate(350deg); | |
| } | |
| } | |
| </style> | |
| <style> | |
| body { | |
| min-height: 100vh; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| background-color: #212121; | |
| margin: 0; | |
| } | |
| </style> | |
| <style>.label .input,#lock,.checkbox-wrapper-35 .switch{display:block!important;position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;clip-path:inset(50%)!important}label:has(input:focus-visible),input:focus-visible+label,button:focus-visible{outline:2px solid #a4bc78;outline-offset:6px}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}</style></head> | |
| <body> | |
| <!-- From Uiverse.io by Adrwaan --> | |
| <div class="card"> | |
| <svg viewBox="0 0 512 512" class="paperplane"> | |
| <path | |
| d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z" | |
| ></path> | |
| </svg> | |
| </div> | |
| </body> | |
| </html> | |