Ten modern layouts in one line of CSS (via web.dev)

Despite most major browsers landing support for it a while ago, I’m still not used to solving layout problems using CSS grid. I tend to reach for flexbox most of the time because it’s familiar and comfortable.

A few blog posts I’ve read in the last few days have made me realize what I’ve been missing out on. This one by Una Kravets is the best of the lot (so far): https://web.dev/one-line-layouts/