2 // Responsive: Utility classes
3 // --------------------------------------------------
6 // IE10 in Windows (Phone) 8
8 // Support for responsive views via media queries is kind of borked in IE10, for
9 // Surface/desktop in split view and for Windows Phone 8. This particular fix
10 // must be accompanied by a snippet of JavaScript to sniff the user agent and
11 // apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
12 // our Getting Started page for more information on this bug.
14 // For more information, see the following:
16 // Issue: https://github.com/twbs/bootstrap/issues/10497
17 // Docs: http://getbootstrap.com/getting-started/#browsers
18 // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
25 // Visibility utilities
30 .responsive-invisibility();
34 @media (max-width: @screen-xs-max) {
35 .responsive-visibility();
39 @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
40 .responsive-visibility();
44 @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
45 .responsive-visibility();
49 @media (min-width: @screen-lg-min) {
50 .responsive-visibility();
55 @media (max-width: @screen-xs-max) {
56 .responsive-invisibility();
60 @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
61 .responsive-invisibility();
65 @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
66 .responsive-invisibility();
70 @media (min-width: @screen-lg-min) {
71 .responsive-invisibility();
78 // Media queries are placed on the inside to be mixin-friendly.
81 .responsive-invisibility();
84 .responsive-visibility();
90 .responsive-invisibility();