blog

git clone https://git.ce9e.org/blog.git

commit
a650f40fc10f6b13745c9b61d681a5c97d2d7067
parent
69d43ee30289dd63a2d447ef695b27c70fa153ac
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-06-24 06:14
margin collapse: fix CSS example

Diffstat

M _content/posts/2024-04-24-margin-collapsing/index.md 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/_content/posts/2024-04-24-margin-collapsing/index.md b/_content/posts/2024-04-24-margin-collapsing/index.md

@@ -51,10 +51,10 @@ h2 {
   51    51 p, ul {
   52    52   margin-block: 0 1em;
   53    53 }
   54    -1 > :first-child {
   -1    54 .box > :first-child {
   55    55   margin-block-start: 0;
   56    56 }
   57    -1 > :last-child {
   -1    57 .box > :last-child {
   58    58   margin-block-end: 0;
   59    59 }
   60    60 ```