Created
June 15, 2012 19:58
-
-
Save quangbahoa/2938442 to your computer and use it in GitHub Desktop.
wordpress.com.vn
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
@media screen and (max-width: 480px) { | |
body { | |
//css | |
} | |
#content { | |
//css | |
} | |
// and so on… | |
} |
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
<meta name="viewport" content="width=device-width; initial-scale=1"> |
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
@media only screen and (min-width: 480px) and (max-width: 767px) { | |
body { | |
width: 436px; | |
padding: 36px 22px 48px; | |
} | |
} |
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
@media only screen and (min-width: px) { | |
} | |
Hoặc: | |
@media screen and (max-width: px) { | |
} | |
Hoặc: | |
@media only screen and (min-width: px) and (max-width: px) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment