Gunnar Bittersmann: Vertikale Ausrichtung in grid

Beitrag lesen

@@Rolf B

box-sizing brauchst Du nur, wenn der Body border oder padding hat.

Unbedingt brauchen oder nicht, sinnvoll ist dieses Box-Modell allemal (in den meisten Fällen), wehalb mal gut daran tut, das für sämtliche Elemente und generierte Pseudoelemente zu setzen:

*, ::before, ::after { box-sizing: border-box }

😷 LLAP

--
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down ‘happy.’ They told me I didn’t understand the assignment, and I told them they didn’t understand life.” —John Lennon