3 ms·
Flex is good when you need flexing. A single row grid, with variable width cells is simpler. See elsewhere in the thread where I solved this and / or submit a
by nailer 4y ago
Flex is good when you need flexing. A single row grid, with variable width cells is simpler.
See elsewhere in the thread where I solved this and / or submit a fork your own version using flex.
- dimal 4y agoHere's a fork. https://codepen.io/mrdanimal/pen/VwGNOQw?editors=0100 https://codepen.io/mrdanimal/pen/VwGNOQw?editors=0100 As far as I could tell there was no visual change. It's not drastically different, but once you make everything flex, it's possible to remove a few of the grid properties.