Created
May 22, 2013 16:44
-
-
Save benbowler/5629045 to your computer and use it in GitHub Desktop.
Want the base CSS for a responsive website? I've used this so many times recently.
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
/* Responsiveness */ | |
/* Large desktop */ | |
@media (min-width: 1200px) { | |
} | |
/* Portrait tablet to landscape and desktop */ | |
@media (min-width: 768px) and (max-width: 979px) { | |
} | |
/* Landscape phone to portrait tablet */ | |
@media (max-width: 767px) { | |
} | |
/* Landscape phones and down */ | |
@media (max-width: 480px) { | |
body { | |
font-size: 70%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment