Overview - Column sizing (col-1 through col-12)
What is it?
Column sizing in Bootstrap is a way to control how wide each column is in a grid layout. The grid is divided into 12 equal parts, and you can assign a number from 1 to 12 to a column to decide how many parts it takes. For example, col-6 means the column takes half the width because 6 is half of 12. This helps create flexible and responsive page layouts.
Why it matters
Without column sizing, web pages would be hard to organize and look messy on different screen sizes. Column sizing lets designers and developers create neat, balanced layouts that adjust well on phones, tablets, and desktops. It solves the problem of making content look good everywhere without writing complex code.
Where it fits
Before learning column sizing, you should understand basic HTML structure and CSS concepts. After mastering column sizing, you can learn about responsive breakpoints, nesting grids, and customizing Bootstrap with utilities and components.