RWD::DOCS
โŒ‚
Adaptive Web Design

Responsive Design Complete Guide

Responsive design is the practice of making one layout work correctly on a phone, a tablet, and a desktop monitor without shipping three different sites. CSS media queries give you full, hand-written control over exactly when a layout changes and how, while Bootstrap's grid system gives you a fast, consistent, mobile-first layout system so you're not hand-rolling breakpoints for every single page. This doc walks through both halves โ€” the raw CSS techniques and the Bootstrap tooling built on top of them โ€” in the order you'd actually learn them, with a diagram, a "where to use it" guide, and concrete implementation steps for each of the 8 topics below.

8 topics 3 groups 8 diagrams 5 Bootstrap breakpoints

Use the sidebar to jump straight to any topic โ€” each one opens its own page with a full explanation, a diagram of how it fits together, and the concrete steps to put it into practice. Work through CSS Fundamentals first: mobile-first thinking and media queries are the foundation everything in Bootstrap is quietly built on top of.

Diagram ยท One Codebase, Three Rendered Layouts
index.html + style.css @media Breakpoints min-width conditions Mobile Layout < 768px โ€” base styles, no query needed Tablet Layout min-width: 768px โ€” added rules Desktop Layout min-width: 992px โ€” added rules

This is mobile-first design: the base stylesheet targets the smallest screen with no media query at all, and every breakpoint above it only adds rules โ€” it never has to fight or undo what came before. The same HTML, the same CSS file, three different rendered results depending on viewport width.

All 8 topics in this guide

Summary & Patterns

Once each topic makes sense on its own, these references tie them together: the order to learn them in, how Bootstrap's grid actually behaves across breakpoints, and the single habit worth internalizing above all others.

Recommended Learning Order

Recommended Priority

LEVEL 1
Mobile-First Philosophy, Media Queries & Breakpoints, Bootstrap Grid System, Bootstrap Containers & Breakpoints.
LEVEL 2
Fluid Typography & Images, Bootstrap Utility Classes, Bootstrap Components.
LEVEL 3
Testing Responsiveness.

Key Pattern โ€” Bootstrap's 12-Column Grid Across Breakpoints

The single most useful thing to internalize about Bootstrap's grid: the same row of columns can be told to behave completely differently at each breakpoint, using nothing but a class name.

Diagram ยท Same Markup, Three Breakpoint Behaviors
โ‰ฅ 992px (lg) โ€” .col-lg-4 ร— 3 col-lg-4 col-lg-4 col-lg-4 768โ€“991px (md) โ€” .col-md-6 ร— 2, wraps col-md-6 col-md-6 col-md-6 < 576px (default) โ€” .col-12 ร— 3, fully stacked col-12

Nothing about the HTML changes between these three renderings โ€” only the responsive class suffix does. .col-lg-4 means "take 4 of 12 columns once the viewport reaches lg," and every column falls back to full width (.col-12, the implicit default) below the smallest breakpoint you specify. Design mobile-first: start from the stacked version and add -md-/-lg- overrides as the screen grows.

Official Documentation Reference URLs

Every topic covered in this guide, with a direct link to its official docs.