Add center-grid div
This commit is contained in:
parent
74562e0b55
commit
427e49e596
|
@ -19,5 +19,7 @@
|
|||
<div class="starfield">
|
||||
<div class="starfield__stars"></div>
|
||||
</div>
|
||||
|
||||
<div class="center-grid"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -7,3 +7,11 @@ body {
|
|||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.center-grid {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue