# Bootstrap

> A free set of ready CSS parts, like buttons and menus. Its grid has 12 columns.

**Field:** Software Development  
**Category:** Web Development  
**Also known as:** Bootstrap CSS, Twitter Bootstrap, Bootstrap Framework

## Think of it like

It is like a starter house kit. The walls and doors come ready, and you paint them.

## Definition

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.

## Example

Jack builds a club website in an evening. He uses Bootstrap's menu, cards and grid, and it already works on phones.

## Example code

```html
<div class="row">
  <div class="col-md-8">Story</div>
  <div class="col-md-4">Sidebar</div>
</div>
```

Eight and four of the 12 columns. On small screens the two boxes stack.

## Why it matters

Many sites and templates you will meet are built on it. Knowing its classes helps you read them.

## Common mistake

Leaving every default as it is. Your site then looks like thousands of others, so change the theme colours.

## Three principles

- **12 columns.** Each row splits into 12 parts.
- **Ready parts.** Buttons, menus, forms and pop-ups.
- **Change by Sass.** Set your own colours and sizes.

## Related terms

- [CSS Framework](https://learn.benibix.com/term/development/css-framework)
- [Tailwind CSS](https://learn.benibix.com/term/development/tailwind-css)
- [Sass](https://learn.benibix.com/term/development/sass)
- [CSS Grid](https://learn.benibix.com/term/development/css-grid)
- [Grid System](https://learn.benibix.com/term/design/grid-system)
- [Media Query](https://learn.benibix.com/term/development/media-query)

## Told apart from

- [Bootstrap vs Tailwind CSS](https://learn.benibix.com/compare/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.

## Taught in

- [CSS Frameworks and Sass](https://learn.benibix.com/learn/development-web/css-frameworks-and-sass): HTML, CSS and JS, 11/14

![Three panels. Custom properties: one line on :root sets --brand to teal, and three arrows carry it to a button, a link and a heading. Sass: a styles.scss file with a nested rule goes through a compile arrow and comes out as plain styles.css. CSS framework: ready-made classes such as btn, row and col-6 are dropped into the HTML, and a styled button and a two-column row appear.](https://learn.benibix.com/diagrams/dev5-css-tools.svg)

---

Source: https://learn.benibix.com/term/development/bootstrap
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
