4 ms·
Nesting of flexboxes can be tricky though – especially when you have elements that fill “the rest of the width/height”. I’ve found that grids are a little easi
by klabb3 3y ago
Nesting of flexboxes can be tricky though – especially when you have elements that fill “the rest of the width/height”.
I’ve found that grids are a little easier to maintain a flat hierarchy and avoid complexity, but the downside is it also doesn’t modularize that well – you need to compose all the cells together, some of which probably should belong in a child “component”.
- dsego 3y agoSub-grids will solve the grid in child component I think.