Created
January 25, 2015 06:54
-
-
Save shahidulislamus/e0be650042a000bed273 to your computer and use it in GitHub Desktop.
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
/*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