Created
August 23, 2012 15:12
-
-
Save rachelbaker/3437624 to your computer and use it in GitHub Desktop.
boilerplate for CSS media queries on responsive sites
This file contains hidden or 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
| // Option 1 - for sites with a max-width of around 1140px | |
| // -------------------------------------------------- | |
| // | |
| @media (max-width: 640px) { | |
| } | |
| @media (max-width: 1024px) { | |
| } | |
| @media (min-width: 1400px) { | |
| } | |
| // Option 2 - for sites with a max-width around 1224px | |
| // -------------------------------------------------- | |
| // | |
| @media (max-width: 800px) { | |
| } | |
| @media (max-width: 1140px) { | |
| } | |
| @media (min-width: 1600px) { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment