From 527424df5345c36d0b08c0c0c0441ca580605685 Mon Sep 17 00:00:00 2001 From: asus Date: Sat, 18 May 2024 15:54:08 +0200 Subject: [PATCH] wip images in projects --- styles/elements/projects.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/styles/elements/projects.css b/styles/elements/projects.css index 68340c7..566047d 100644 --- a/styles/elements/projects.css +++ b/styles/elements/projects.css @@ -3,10 +3,12 @@ height: 300px; } article { - display: flex; - flex-direction: row; - flex-wrap: wrap; - gap: 20px; + display: grid; + grid-gap: 20px; + grid-auto-columns: repeat(auto-fill, minmax(500px, 1fr)); + p { + grid-column: 1 / span 2; + } img { max-height: 500px; max-width: 500px;