Created
December 14, 2012 17:11
-
-
Save anonymous/4287025 to your computer and use it in GitHub Desktop.
Quick Responsive Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.visible-desktop { | |
display: inherit; | |
} | |
.visible-tablet { | |
display: none !important; | |
} | |
.visible-mobile { | |
display: none !important; | |
} | |
.visible-wide-mobile { | |
display: none !important; | |
} | |
/* Tablet :: Inherits from default styles */ | |
@media only screen and (min-width: 768px) and (max-width: 991px) { | |
.visible-desktop { | |
display: none !important; | |
} | |
.visible-tablet { | |
display: inherit !important; | |
} | |
} | |
/* Mobile :: Inherits from default styles */ | |
@media only screen and (max-width: 767px) { | |
.visible-desktop { | |
display: none !important; | |
} | |
.visible-mobile { | |
display: inherit !important; | |
} | |
} | |
/* Wide Mobile :: Inherits from default styles and Mobile styles */ | |
@media only screen and (min-width: 480px) and (max-width: 767px) { | |
.visible-wide-mobile { | |
display: none !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment