Skip to content
BENIBIX Learn

Bootstrap

Development🌐 Web DevelopmentBrowser Code

Also known as Bootstrap CSS, Twitter Bootstrap, Bootstrap Framework

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

Think of it like

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

Example

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

Why it matters

Many sites and templates you will meet are built on it. Knowing its classes helps you read 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 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.
Bootstrap is a CSS framework: class names like col-6 make a styled grid.

Common mistake

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

Key takeaways

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

Compare

Learn it properly