Last active
December 13, 2015 17:48
-
-
Save bballentine/4950459 to your computer and use it in GitHub Desktop.
WEB 2710: css-media-query-example
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
div.example { | |
/*add all base styling here*/ | |
} | |
@media only screen and (min-width: 320px) { | |
/*add styling for base smart phones here*/ | |
} | |
@media only screen and (min-width: 480px) { | |
/*add styling for base smart phones in landscape orientation here*/ | |
} | |
@media only screen and (min-width: 768px) { | |
/*tablet styles here*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment