3 ms·
I've struggled with children sizing in flex. Children take up more space depending on their content. If the content overflows, flex doesn't handle that well eit
by swagasaurus-rex 4y ago
I've struggled with children sizing in flex. Children take up more space depending on their content. If the content overflows, flex doesn't handle that well either.
Grid seems to handle this better when you specify grid-template-column.
Anybody know a good flex-specific solution?
- mumumu 4y agoMaybe this: https://drafts.csswg.org/css-rhythm/ https://drafts.csswg.org/css-rhythm/ The searchable keyword for that is "responsive". Using length units related to viewport size on max-widht may help.
- nathias 4y agohttps://css-tricks.com/snippets/css/a-guide-to-flexbox/ https://css-tricks.com/snippets/css/a-guide-to-flexbox/