CSS Grid Layout vs CSS Frameworks

What are the differences between CSS grid layout and CSS frameworks? When are they used?

As in a grid framework, like the grid component in Bootstrap? CSS didn’t used to have the Grid module, so using a grid framework was kind of a necessity if you needed a grid layout and didn’t want to hack together your own solution that worked consistently across browsers. CSS now has the Grid module, and it’s supported basically everywhere, so they aren’t a necessity unless you have some specific constraints (supporting very old browsers for example).

1 Like