Created
September 15, 2011 02:51
-
-
Save beenhero/1218403 to your computer and use it in GitHub Desktop.
media quries
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
#sidebar { float: left; width: 300px; } | |
@media only screen and (max-width: 479px) { #sidebar { float: none; } } | |
@media only screen and (min-width: 480px) and (max-width: 767px) { #sidebar { float: none; } } | |
@media only screen and (min-width: 768px) and (max-width: 959px) { #sidebar { width: 240px; } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment