Gunnar Bittersmann: Layout-Problem: Border soll float respektieren

Beitrag lesen

@@Rolf B

D.h. ich hätte statt display:flow-root auch andere, ältere Werkzeuge zur Schaffung eines BFC nehmen können, wie overflow:hidden, contain:layout, oder ganz frech: column-count:1 😉.

Oder display: grid. Oder display: flex.

(Wobei flex unangenehme Nebenwirkungen hat, wenn der Inhalt der Überschrift Markup enthält. Fragen Sie Ihre Ärztin oder Apothekarin. Oder schauen Sie in den erweiterten Codepen.)

🖖 Live long and prosper

--
“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.”
— Bruce Springsteen, Manchester 2025-05-14