Skip to content

Instantly share code, notes, and snippets.

@saturngod
Created May 12, 2011 15:35
Show Gist options
  • Save saturngod/968766 to your computer and use it in GitHub Desktop.
Save saturngod/968766 to your computer and use it in GitHub Desktop.
Media queries
@media screen and (max-width:480px){
#content {
width:470px;
}
}
@media screen and (max-width:320px){
#content {
width:310px;
}
}
@media screen and (min-width:1200px) and (max-width:1800px){
body {
background-image:url('bigimage.jpg');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment