CSS Flexbox has become extremely popular amongst front-end developers the last couple of years. This isn’t surprising, as it has made it a lot easier for us to create dynamic layouts and align content within containers.
However, there’s a new kid in town called CSS Grid, and it’s got a lot of the same capabilities as Flexbox. In come cases it’s better than Flexbox, while in other cases it’s not.
If you are to take one lesson from this article, let it be this one:
Flexbox is made for one-dimensional layouts and Grid is made for two-dimensional layouts.
Posted by Dominik Schöler to makandra dev (2018-03-26 14:02)