0

CSS Grid and Flexbox

What are some of the advantages of each and can they be used together? From what I understand, they are both pretty standard in modern front end developement. I know that some even use the Bootstrap grid rather than learn either. Amy insight would be much appreciated!

16th Jun 2018, 7:54 PM
Taylor Wilkinson
Taylor Wilkinson - avatar
2 Réponses
+ 1
Grid is way better for creating layouts as it is two dimensional. Grid is not supported by all browsers. Flex box is one dimension and is used to make layouts the similar way as grid and it's supported by nearly all browsers. As far as I know bootstrap grid is made using flex box as they want older browser support. Personally I prefer grid - the only disadvantage it's not supported by IE11 for example
16th Jun 2018, 10:18 PM
damyco
damyco - avatar
0
Thank you so much for the answer, damyco! That's really helpful, and your answer clears up the questions I had about it. I appreciate it!
17th Jun 2018, 2:11 PM
Taylor Wilkinson
Taylor Wilkinson - avatar