From 8d662e17004d26841302873a32af17373ccdd2b2 Mon Sep 17 00:00:00 2001 From: HearMeWhisper Date: Mon, 22 Aug 2022 11:33:45 -0400 Subject: [PATCH] mtg 4 items per row --- MTG/index.html | 1 + MTG/style.css | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MTG/index.html b/MTG/index.html index d57c383..74547aa 100644 --- a/MTG/index.html +++ b/MTG/index.html @@ -18,6 +18,7 @@ + diff --git a/MTG/style.css b/MTG/style.css index 5767989..5d69492 100644 --- a/MTG/style.css +++ b/MTG/style.css @@ -100,12 +100,16 @@ main { display: flex; flex-direction: column; + flex-wrap: wrap; margin: min(1rem, 1.5rem); /* max-width: max-content; */ - width: clamp(min-content, max-content, max-content+1rem) + width: clamp(min-content, max-content, max-content+1rem); + max-width: 25%; + flex-basis: 20% } + .buttons { font-size: 3em;