Created
January 28, 2014 01:44
-
-
Save brittanydionigi/8660998 to your computer and use it in GitHub Desktop.
responsive CSS template for development
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
/* RED 1024 */ | |
@media only screen and (max-width: 1024px) { | |
body { background-color: rgba(255, 0, 0, 0.5); } | |
} | |
/* ORANGE 972 */ | |
@media only screen and (max-width: 972px) { | |
body { background-color: rgba(255, 165, 0, 0.5); } | |
} | |
/* YELLOW 768 */ | |
@media only screen and (max-width: 768) { | |
body { background-color: rgba(255, 255, 0, 0.5); } | |
} | |
/* GREEN 767 */ | |
@media only screen and (max-width: 767px) { | |
body { background-color: rgba(0, 128, 0, 0.5); } | |
} | |
/* BLUE 480 */ | |
@media only screen and (max-width: 480px) { | |
body { background-color: rgba(0, 0, 255, 0.5); } | |
} | |
/* PURPLE 320 */ | |
@media only screen and (max-width: 320px) { | |
body { background-color: rgba(128, 0, 128, 0.5); } | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment