Created
May 26, 2013 12:24
-
-
Save DaveGoosem/5652648 to your computer and use it in GitHub Desktop.
Adaptive Design - Media Queries
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
/* Plonk as many of these as you need for each device/context and they will be | |
applied when the media query defined is met.*/ | |
@media screen and (max-width: 320px) | |
{ | |
/* all styles for this query size go here. */ | |
/* | |
for mobile, get of as many floats as possible sot hey sit on top | |
of eachother down the page nicely. | |
*/ | |
/* some typical rules for mobile devices are to stack content that is floated */ | |
float: none; | |
width: inherit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment