fixed bg aligment

This commit is contained in:
8BitBiscotti
2024-12-13 13:30:29 +01:00
parent c5a87e8a53
commit 210b456cf1
+2 -4
View File
@@ -25,14 +25,12 @@ body {
transform: translate(-50%, -50%);
}
#mainDiv {
top: 0%;
left: 0%;
height: 100vh;
}
.bgGradient {
image-rendering: pixelated;
min-width: 100vw;
min-height: 100vh;
width: calc(256px * var(--pxDensity));
height: calc(164px * var(--pxDensity));
aspect-ratio: auto;
position: absolute;
top: round(50%, var(--pxDensityPx));