fixed bg aligment
This commit is contained in:
@@ -25,14 +25,12 @@ body {
|
|||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
#mainDiv {
|
#mainDiv {
|
||||||
top: 0%;
|
|
||||||
left: 0%;
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
.bgGradient {
|
.bgGradient {
|
||||||
image-rendering: pixelated;
|
image-rendering: pixelated;
|
||||||
min-width: 100vw;
|
width: calc(256px * var(--pxDensity));
|
||||||
min-height: 100vh;
|
height: calc(164px * var(--pxDensity));
|
||||||
aspect-ratio: auto;
|
aspect-ratio: auto;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: round(50%, var(--pxDensityPx));
|
top: round(50%, var(--pxDensityPx));
|
||||||
|
|||||||
Reference in New Issue
Block a user