summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Knoerr <an.kn@protonmail.ch>2025-07-21 15:39:09 +0200
committerAnna Knoerr <an.kn@protonmail.ch>2025-07-21 15:39:09 +0200
commitf3857bb93a38c16965dcf330abc45307afc266b7 (patch)
treefc26887550e4896e2e189334a651da803acdf950
parent21a735a643a91ea9ea01c6b4cda19f68c09a6869 (diff)
making boxes uniform size
-rw-r--r--elements.css10
1 files changed, 8 insertions, 2 deletions
diff --git a/elements.css b/elements.css
index a7e5b29..c0c9cba 100644
--- a/elements.css
+++ b/elements.css
@@ -15,13 +15,19 @@ body {
}
.element {
+ width: 100%;
+ aspect-ratio: 1 / 1;
background-color: #e0e0e0;
border: 1px solid #999;
text-align: center;
- padding: 10px;
cursor: pointer;
border-radius: 5px;
- position: relative;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ font-size: 12px;
+ box-sizing: border-box;
}
.element .number {