re: Why CSS Grid is better than Bootstrap for creating layouts VIEW POST

FULL DISCUSSION
 

Great points. I especially agree that using classes like col-xs-4 and so forth, complicates the code both in HTML and CSS.

Question : Compared to just plain flex box in css, what are advantages and disadvantages over css grid?

 

I think CSS Grid is better for two-dimensional layouts while Flexbox is better for one dimension, as Grid is a bit of an overkill for one dimension. They're also great to use together actually.

I actually talk about Grid vs Flexbox in this tutorial: scrimba.com/p/pWqLHa/cZgMGt4

code of conduct - report abuse