Skip to content

Instantly share code, notes, and snippets.

@shahidulislamus
Created January 25, 2015 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shahidulislamus/e0be650042a000bed273 to your computer and use it in GitHub Desktop.
Save shahidulislamus/e0be650042a000bed273 to your computer and use it in GitHub Desktop.
/*medium screen*/
@media only screen and (min-width:992px) and (max-width:1199px){
/*all medium screen code is going hear*/
body{
background-color:red;
}
}
/*Tablet layout*/
@media only screen and (min-width:768px) and (max-width:991px){
/*all tablet screen code is going hear*/
body{
background-color:green;
}
}
/*Mobile layout*/
@media only screen and (min-width:200px) and (max-width:767px){
/*all mobile screen code is going hear*/
body{
background-color:yellow;
}
}
/*Wide mobile screen*/
@media only screen and (min-width:480px) and (max-width:767px){
/*all wide mobile screen code is going hear*/
body{
background-color:blue;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment