Secret CSS Mechanisms

Switch on learning mode. Josh´s talk, Secret Mechanisms of CSS, is great. I had plenty aha-moments while following his explanations and examples.

CSS has 5 layout modes

  1. Flow layout (default)
  2. Positioned layout
  3. Flexible Box layout
  4. Grid layout (not covered in the talk)
  5. Table layout (not covered in the talk)

Flow layout (default)

Positioned layout

Flexible Box layout

 Tip

It´s not mentioned in the video, but Josh has this excellent Interactive Guide to Flexbox.

Grid layout

Grid layout is not covered in Josh´s talk, but, like for Flexbox, Josh made An Interactive Guide to CSS Grid.

Finally – the talk

Secret Mechanisms of CSS, by Josh Comeau
Comments