From ddd594c6e2a952bfb10f2a8f4aad678e3e15174f Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 23 Aug 2013 23:33:16 -0700 Subject: follow up to #9963 and #10005: update docs to use .screen-*-min vars, update customizer as well; run grunt to adjust raw files --- css.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'css.html') diff --git a/css.html b/css.html index 0d3fc11ef..c0169d574 100644 --- a/css.html +++ b/css.html @@ -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 %}

We occasionally expand on these media queries to include a max-width to limit CSS to a narrower set of devices.

{% 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 %}

Grid options

-- cgit v1.2.3