@@Joachim
div { display: grid; grid-template-columns: min-content min-content min-content; }
Wie kann ich dies zentrieren?
Möglichkeit 0: min-content
deutet stark darauf hin, dass du kein Grid willst, sondern Boxen, die sich dem Inhalt anpassen. Dass grid
also das falsche Werkzeug ist und flex
das richtige.
flex-wrap
gibt’s gratis dazu (für schmale Viewports). ☞ Beispiel
🖖 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
“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