diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 2d0b87fe21..c1c43b1d88 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -346,19 +346,3 @@ h2 + table { min-width: 748px; } } - - - -.supported-devices { - margin-bottom: 9px; - color: #777; -} -.supported-devices strong { - display: block; - font-size: 14px; - line-height: 18px; -} -.supported-devices small { - font-size: 12px; -} - diff --git a/docs/index.html b/docs/index.html index aafea76621..3908552bd0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -413,33 +413,55 @@
Label | +Layout width | +Column width | +Gutter width | +|||||
---|---|---|---|---|---|---|---|---|
- Under 480px - Smartphones - | -- 480px to 768px - Portrait tablet - | -- 768px to 940px - Landscape tablet - | -- 940px and up - Default - | -- 1170px and up - Large screens - | +Smartphones | +480px and below | +Fluid columns, no fixed widths | +|
Portrait tablets | +480px to 768px | +Fluid columns, no fixed widths | +||||||
Landscape tablets | +768px to 940px | +44px | +20px | +|||||
Default | +940px and up | +60px | +20px | +|||||
Large display | +1210px and up | +70px | +30px |
With these media queries, Bootstrap provides developers with the core tools necessary to develop responsively on the web for the world's most common devices and resolutions.
+ +Media queries allow for custom CSS based on a number of conditions—ratios, widths, display type, etc—but usually focuses around min-width
and max-width
.
Bootstrap doesn't automatically include these media queries, but understanding and adding them is very easy and requires minimal setup. You have a few options for including the responsive features of Bootstrap:
Why not just include it? Truth be told, not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it.
// Landscape phones and down @media (max-width: 480px) { ... }