Skip to content

Commit 1bae126

Browse files
committed
adjusted loader positioning
1 parent 7c7fa87 commit 1bae126

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/App/Loader/Loader.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
grid-gap:2px;
55
grid-template-columns: repeat(2, 1fr);
66
grid-template-rows: repeat(2, 1fr);
7-
margin:0 auto;
7+
position: absolute;
8+
left:50%;
9+
top:50%;
10+
transform: translate(-50% -50%);
811
}
912

1013
.box {
@@ -17,7 +20,7 @@
1720

1821
@keyframes pulse {
1922
100%{
20-
opacity:0.2;
23+
opacity:0.1;
2124
}
2225
}
2326

0 commit comments

Comments
 (0)