fixed bg aligment
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user