Download style.css from oakerx/vanilla-js-portrait-matting: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/spaces/oakerx/vanilla-js-portrait-matting/resolve/eb3165e84dd993841f12d4cb3afac2829b216e58/style.css
- Command line
-
hf download hf://spaces/oakerx/vanilla-js-portrait-matting@eb3165e84dd993841f12d4cb3afac2829b216e58/style.css
-
curl -L -o style.css https://huggingface.co/spaces/oakerx/vanilla-js-portrait-matting/resolve/eb3165e84dd993841f12d4cb3afac2829b216e58/style.css
1.16 kB
| html, | |
| body { | |
| font-family: Arial, Helvetica, sans-serif; | |
| } | |
| .container { | |
| margin: 40px auto; | |
| width: 100%; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .wrap { | |
| display: flex; | |
| flex-direction: row; | |
| flex-wrap: wrap; | |
| } | |
| .left-column, | |
| .right-column { | |
| flex: 1; | |
| padding: 10px; | |
| box-sizing: border-box; | |
| max-height: 500px; | |
| } | |
| @media (max-width: 508px) { | |
| .left-column, | |
| .right-column { | |
| flex: 100%; | |
| } | |
| } | |
| .custom-file-select { | |
| display: flex; | |
| align-items: center; | |
| cursor: pointer; | |
| gap: 10px; | |
| border: 2px solid black; | |
| padding: 8px 16px; | |
| cursor: pointer; | |
| border-radius: 6px; | |
| } | |
| #file-select { | |
| display: none; | |
| } | |
| #out-container { | |
| width: 400px; | |
| height: 500px; | |
| } | |
| img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: contain; | |
| border: 1px dashed rgba(128, 128, 128, 0.5); | |
| } | |
| .bounding-box { | |
| position: absolute; | |
| box-sizing: border-box; | |
| border-width: 2px; | |
| border-style: solid; | |
| } | |
| .bounding-box-label { | |
| color: white; | |
| position: absolute; | |
| font-size: 12px; | |
| margin-top: -16px; | |
| margin-left: -2px; | |
| padding: 1px; | |
| } |