Skip to content

Instantly share code, notes, and snippets.

@kenoir
Created September 11, 2012 09:04
Show Gist options
  • Save kenoir/3697080 to your computer and use it in GitHub Desktop.
Save kenoir/3697080 to your computer and use it in GitHub Desktop.
Trying our some media selectors for screen width
@media all and (max-width: 320px){
article.intro {
width: 100%;
}
section {
width: 100%;
}
}
@media all and (max-width: 640px) and (min-width: 321px){
article.intro{
float:left;
width:50%;
}
section{
float:left;
width:50%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment