2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

reorder media queries

This commit is contained in:
Mark Otto
2012-06-25 16:25:50 -07:00
parent 8c2db7d7d6
commit 94a3d4eb14
4 changed files with 533 additions and 533 deletions
+11 -11
View File
@@ -18,17 +18,6 @@
.hidden-tablet { }
.hidden-desktop { display: none !important; }
// Phones only
@media (max-width: 767px) {
// Show
.visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
// Hide
.hidden-phone { display: none !important; }
// Hide everything else
.hidden-desktop { display: inherit !important; }
.visible-desktop { display: none !important; }
}
// Tablets & small desktops only
@media (min-width: 768px) and (max-width: 979px) {
// Show
@@ -39,3 +28,14 @@
.hidden-desktop { display: inherit !important; }
.visible-desktop { display: none !important ; }
}
// Phones only
@media (max-width: 767px) {
// Show
.visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
// Hide
.hidden-phone { display: none !important; }
// Hide everything else
.hidden-desktop { display: inherit !important; }
.visible-desktop { display: none !important; }
}