height, min-height
bearbeitet von Gunnar Bittersmann@@Rolf B
> Besser ist `body { min-height: 100vh; }`.
Wobei man berücksichtigen muss, dass `body` per Browserdefault `margin` hat, den man dan nullen möchte und Abstand zum Rand anderweitig machen muss, z.B. mit `padding`.
😷 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.”*{:@en} —John Lennon
{:@en}