Re:Is There Too Much CSS Now?
by nathias on Monday November 07, 2022 @01:48PM
(#33510313)
flex everything, it behaves much smoother
[ Parent
| on HN ]
Grid everything, it has everything flex has and mixing the two makes one want to rage quit.
Re:Is There Too Much CSS Now?
by swagasaurus-rex on Monday November 07, 2022 @03:38PM
(#33512066)
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?
Maybe this:
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.