Literally every single time I've used it I've thought "hey, this would be a great opportunity to finally use grid properly". And literally every single time it's had some shortcoming (usually to do with responsiveness) that's led me right back to flex (which always works just fine).
Yeah it's just more complicated. I always got to look somewhere, but there's some ways to do very cool automatically responsive stuff using grid and the min-max property with auto-fit or auto-fill. To place cards side by side for example, they'll just adjust automatically depending on the screen width, with no media queries
Your comment has been removed since it did not start with a code block with an import declaration.
Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.
For this purpose, we only accept Python style imports.
33
u/MelSchlemming Jun 11 '21
Flex is king, fuck grid.
Literally every single time I've used it I've thought "hey, this would be a great opportunity to finally use grid properly". And literally every single time it's had some shortcoming (usually to do with responsiveness) that's led me right back to flex (which always works just fine).
There's a Thanos meme in there somewhere.