Skip to content

Commit 7e7eee9

Browse files
authored
fix vertical alignment
1 parent b36459c commit 7e7eee9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

54-css loaders/style.css

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
* {
2+
box-sizing: border-box;
3+
}
4+
15
body {
26
background-color: #fef9f2;
3-
max-width: 960px;
47
display: flex;
8+
align-items: center;
59
justify-content: space-around;
6-
margin: 200px auto;
10+
height: 100vh;
11+
overflow: hidden;
12+
margin: 0;
713
}
814

915
/* spinner */
@@ -15,7 +21,6 @@ body {
1521
}
1622

1723
.spinner div {
18-
box-sizing: border-box;
1924
position: absolute;
2025
width: 100%;
2126
height: 100%;
@@ -145,3 +150,4 @@ body {
145150
transform: rotateX(0) rotateY(0);
146151
}
147152
}
153+

0 commit comments

Comments
 (0)