diff options
| author | Mark Otto <[email protected]> | 2013-08-23 23:33:16 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-23 23:33:16 -0700 |
| commit | ddd594c6e2a952bfb10f2a8f4aad678e3e15174f (patch) | |
| tree | 0f4eb8ce1a032906d45f70ef197e59cba11148d3 /css.html | |
| parent | adac269f950b6b75056ea8d578c5b3f179b712c7 (diff) | |
| download | bootstrap-ddd594c6e2a952bfb10f2a8f4aad678e3e15174f.tar.xz bootstrap-ddd594c6e2a952bfb10f2a8f4aad678e3e15174f.zip | |
follow up to #9963 and #10005: update docs to use .screen-*-min vars, update customizer as well; run grunt to adjust raw files
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -80,20 +80,20 @@ base_url: "../" /* No media query since this is the default in Bootstrap */ /* Small devices (tablets, 768px and up) */ -@media (min-width: @screen-sm) { ... } +@media (min-width: @screen-sm-min) { ... } /* Medium devices (desktops, 992px and up) */ -@media (min-width: @screen-md) { ... } +@media (min-width: @screen-md-min) { ... } /* Large devices (large desktops, 1200px and up) */ -@media (min-width: @screen-lg) { ... } +@media (min-width: @screen-lg-min) { ... } {% endhighlight %} <p>We occasionally expand on these media queries to include a <code>max-width</code> to limit CSS to a narrower set of devices.</p> {% highlight css %} -@media (max-width: @screen-phone-max) { ... } -@media (min-width: @screen-sm) and (max-width: @screen-sm-max) { ... } -@media (min-width: @screen-md) and (max-width: @screen-md-max) { ... } -@media (min-width: @screen-lg) { ... } +@media (max-width: @screen-xs-max) { ... } +@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { ... } +@media (min-width: @screen-md-min) and (max-width: @screen-md-max) { ... } +@media (min-width: @screen-lg-min) { ... } {% endhighlight %} <h3 id="grid-options">Grid options</h3> |
