1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

cube: make more generic, step 1

This commit is contained in:
RGBCube 2025-06-03 03:20:03 +03:00
parent 70f94588c9
commit b6c3592c2a
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 25 additions and 16 deletions

View file

@ -3,14 +3,20 @@ prevent_zoom: true
---
<style>
cube-face::after {
z-index: -1;
content: "";
cube-face {
display: flex;
align-items: center;
justify-content: center;
height: inherit;
width: inherit;
&::after {
z-index: -1;
content: "";
position: absolute;
height: inherit;
width: inherit;
position: absolute;
}
}
.cube-face-front {