The CSS Fragmentation Chaos
Historically, web designers wrote CSS grids, form structures, and UI buttons from scratch for every new project. Design layouts were inconsistent, and frontend codebases quickly deteriorated into spaghetti CSS.
In August 2011, Twitter open-sourced Bootstrap (originally Twitter Blueprint), a CSS framework designed to standardize visual grids and UI widgets.
The 12-Column Grid System
Bootstrap is built on a responsive 12-column grid layout:
- ◆Rows: Groups of columns aligned horizontally.
- ◆Columns: Grids defined by width classes (e.g.,
.span4and.span8to make a sidebar and main panel).
htmlcode
<!-- Structural HTML grid layout in early Bootstrap 1.x -->
<div class="row">
<div class="span4">
<h3>Sidebar</h3>
<p>Navigation options here.</p>
</div>
<div class="span8">
<h3>Main Content</h3>
<p>Primary information display.</p>
</div>
</div>Built-in UI Components
Bootstrap ships with pre-designed components:
- ◆Buttons: Standard classes like
.btn-primaryand.btn-success. - ◆Forms: Normalized input styling across browsers.
- ◆Navigation: Menus, tabs, and breadcrumbs.
Built on LESS CSS
Unlike static CSS, Bootstrap is designed using LESS, a CSS preprocessor adding variables, mixins, and nested rules, streamlining theme customizations.
VP
Vijay Paliwal
Founder, SHIVAM ITCS · 18+ years enterprise & AI engineering
MCA · Ex-HiveGPT USA · Ex-Social27 Seattle