From 427e49e596df582e4f66cf1df9b8202cf4839cb2 Mon Sep 17 00:00:00 2001 From: The Magician Date: Sat, 2 Dec 2023 17:40:40 +0000 Subject: [PATCH] Add center-grid div --- index.html | 2 ++ styles/common.css | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/index.html b/index.html index 8515ee1..b86e71b 100644 --- a/index.html +++ b/index.html @@ -19,5 +19,7 @@
+ +
diff --git a/styles/common.css b/styles/common.css index 960c8e4..16f7ec1 100644 --- a/styles/common.css +++ b/styles/common.css @@ -7,3 +7,11 @@ body { width: 100vw; height: 100vh; } + +.center-grid { + width: 100%; + height: 100%; + + display: grid; + place-items: center; +}