From 8bd4ac668a1d7b3ed3bc99f41a28337a6cd31344 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 25 Jan 2023 16:46:03 +0100 Subject: Use flexbox for boxes --- css/style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'css') diff --git a/css/style.css b/css/style.css index 50720ae..1fed4ea 100644 --- a/css/style.css +++ b/css/style.css @@ -24,3 +24,15 @@ body{ margin: 0.2rem; font-size: 1rem; } + +.day-forecast{ + display: flex; + flex-wrap: wrap; + justify-content: space-between; +} +.day-forecast-text{ + min-width: 200px; +} +.day-forecast-image{ + padding: 1em; +} -- cgit v1.2.3