Bootstrap vs Tailwind CSS
People think Tailwind CSS is just another Bootstrap, and it is not. Bootstrap hands you whole ready parts, like a styled button or a menu, with one class each. Tailwind hands you small classes that each do one job, like a colour or a gap. You build each part from many of them, so pages look less alike.
Bootstrap
A free set of ready CSS parts, like buttons and menus. Its grid has 12 columns.
Bootstrap is a free CSS framework with ready-made parts like buttons, menus, forms and pop-ups. Its grid splits each row into 12 columns. You say how many columns a box takes, like col-6 for half. Sizes such as sm and md let the layout change on bigger screens. It is written in Sass, so you can change its colours and sizes.
Tailwind CSS
A CSS framework of small classes. Each one does a single styling job.
Tailwind CSS is a free CSS framework built from small utility classes. Each class does one thing. p-4 adds padding, text-center centres the text, and rounded-lg rounds the corners. You put the classes straight on the element, so you rarely write your own CSS file. A build step keeps only the classes you used, so the final file stays small.
In one line
- Bootstrap
- A free set of ready CSS parts, like buttons and menus. Its grid has 12 columns.
- Tailwind CSS
- A CSS framework of small classes. Each one does a single styling job.