@@Konrad
body { max-width: 60em; .... }
Das bedeutet, dass das body
-Element maximal so breit ist wie das 60fache der Schriftgröße.
Was passiert, wenn die Viewportbreite größer ist?
Dann erreicht die Breite des body
-Elements diesen Maximalwert.
Links und rechts schwarze Flächen?
Das hängt vom übrigen CSS-Code ab.
Sind die 60 em typisch für ein bestimmtes Gerät?
Nein.
Responsive web design (= web design[1]) ist niemals auf ein bestimmtes Gerät gemünzt.
😷 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
“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