Hacker News new | ask | show | jobs
by nicoburns 1487 days ago
> You can implement such a layout without using Grid Layout and using just Flex Layout

IMO Grid is actually simpler than Flex. Once IE11 is out of the picture, I think it might be worth considering teaching CSS beginners using a Grid-first approach.

2 comments

Agreed, as soon as you need more than auto-growing AND alignment in 2 dimensions Flexbox becomes a world of pain whilst a grid JustWorks(TM).
I agree. You should only use Flex box when you need it, like when you have differing width children and wrapping.