Gunnar Bittersmann: Neu: Holy-Grail-Layout

Beitrag lesen

@@Matthias Scharwies

  1. Beispiel ist das Holy-Grail-Layout

Das wäre ein gutes Beispiel, um nicht mit Spaltennummern zu hantieren, sondern zu zeigen, wie das mit benannten Bereichen geht:

body {
  grid-template-areas:
    "header header header"
    "nav    main   aside"
    "footer footer footer";
}

😷 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