Quiz

Have you ever used a grid system, and if so, what do you prefer?

Topics
CSS

Before Flexbox became widely used, float-based grid systems were common because they offered the most reliable browser support. Bootstrap used floats through Bootstrap 3 before switching to Flexbox in Bootstrap 4.

Today, I prefer native CSS Grid Layout for two-dimensional layouts that need to control both rows and columns, and Flexbox for one-dimensional layouts along a row or column. They complement each other, so a page might use Grid for its overall structure and Flexbox to align items within individual components.

When a project already uses a framework or design system, I may use its grid utilities for consistency. Otherwise, native Grid and Flexbox usually provide the layout capabilities without requiring a framework-specific grid system.

Edit on GitHub