Post

My new CSS course is out 🥳, The Layout Maestro. It's all about teaching you how to think and decide what CSS to use. Here is a peek from inside the content.

For both flexbox and grid, I use a lego bricks metaphor to explain alignment. Here is a demo for align-self and justify-self. Toggle line numbers and grid axes to see exactly what's happening.

In grid, it's important to grasp how grid areas work. This is one of the examples. I really like grid areas and believe mastering them along with named grid lines gives you precise control over any layout.

No replies yet.