From ea5a0c5ae0193b655521df5dac4be740b3a9084d Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sat, 8 Jun 2024 17:08:07 +0200 Subject: [PATCH] fix margin collapse of adjacent sections --- simple.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/simple.css b/simple.css index f1f0f92..bff5fe3 100644 --- a/simple.css +++ b/simple.css @@ -359,6 +359,10 @@ section:first-child { padding-top: 0; } +section + section { + margin-top: 0; +} + section:last-child { border-bottom: 0; padding-bottom: 0;