Spaces:
Running
Running
Download assets/ui/floating/interactive.html from u11310019/Web-Generator: direct link, hf CLI and curl.
- Browser
- Download file 2.15 kB
-
https://huggingface.co/spaces/u11310019/Web-Generator/resolve/main/assets/ui/floating/interactive.html
- Command line
-
hf download hf://spaces/u11310019/Web-Generator/assets/ui/floating/interactive.html
-
curl -L -o interactive.html https://huggingface.co/spaces/u11310019/Web-Generator/resolve/main/assets/ui/floating/interactive.html
2.15 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>3D懸浮發光卡片</title> | |
| <style> | |
| /* From Uiverse.io by Saad3092003 */ | |
| .one-div { | |
| position: relative; | |
| height: 250px; | |
| width: 200px; | |
| background-color: rgb(15, 15, 15); | |
| transform-style: preserve-3d; | |
| animation: rot 2s infinite ease; | |
| border-radius: 20px; | |
| box-shadow: 0 0 50px 0px, inset 0 0 90px 0px; | |
| color: white; | |
| transition: 1s; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| .one-div .text { | |
| opacity: 0; | |
| transition: all 0.5s; | |
| } | |
| .one-div:hover.one-div .text { | |
| scale: 1.2; | |
| opacity: 0.7; | |
| } | |
| .one-div:hover { | |
| box-shadow: 0 0 50px 0px, inset 5px 5px 20px 0px black; | |
| } | |
| @keyframes rot { | |
| 0% { | |
| transform: rotateX(-15deg) translateY(0px); | |
| } | |
| 50% { | |
| transform: rotateX(-15deg) translateY(-10px); | |
| } | |
| 100% { | |
| transform: rotateX(-15deg) translateY(0px); | |
| } | |
| } | |
| </style> | |
| <style> | |
| body { | |
| min-height: 100vh; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| background-color: #0b0b0e; | |
| margin: 0; | |
| perspective: 800px; | |
| } | |
| </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 Saad3092003 --> | |
| <div class="one-div"> | |
| <div class="text">Hello There</div> | |
| </div> | |
| </body> | |
| </html> | |