Höhe eines Containers in grid
bearbeitet von@@Heidi
> warum ist der container in dem [Beispiel](https://codepen.io/Heidiheido/pen/wBGyeNL?editors=1100)
> so hoch?
Das Entwicklertool deines Browsers verrät es dir:
[](/images/81429124-ca56-11f0-ab1d-9c6b003e9157.png)
Das Gelbe, was von `h1`-Element kommt: der Abstand nach oben und unten (d.h. in Block-Richtung).
> Wie kann ich die Höhe reduzieren?
Indem du den Default aus dem Browser-Stylesheet überschreibst.
🖖 Live long and prosper
{:@en}
--
*“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”*{:@en}
— Bruce Springsteen, Manchester 2025-05-14