DEV Community

Discussion on: 15 CSS3 Best practices of for beginners to pro.

Collapse
 
menomanabdulla profile image
menomanabdulla

@darkwiiplayer cool, I am totally agreed with you. There is lots of complex layout we can still manage with flex. We can also use grid to solve the same problem, In such case I would love to use flex. Usually I use grid for more complex layout, such multiple rows, cols and also multiple alignment issues. Love your effort man. Thanks a lot.

Thread Thread
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Sometimes it's even easier to use flex, because that way you can just define a desired width for your items and let them wrap wherever they want. With grid, one would have to use media-queries to define cut-off widths for 2, 3, 4, etc. columns. I'd much rather let the browser figure those things out instead of adding special cases for different resolutions 😁

Thread Thread
 
menomanabdulla profile image
menomanabdulla

Exactly, it is.