Last active
December 20, 2015 22:29
-
-
Save zenxds/6205067 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
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"> | |
/* PC宽屏样式*/ | |
/* iPad及以下,所有小于(不等于)960宽度的平板电脑*/ | |
@media only screen and (max-width: 959px) {} | |
/* 仅iPad竖版,所有小于(不等于)960宽度的平板电脑的竖版*/ | |
@media only screen and (min-width: 768px) and (max-width: 959px) {} | |
/* iPhone及以下*/ | |
@media only screen and (max-width: 767px) {} | |
/* 仅iPhone横版,包括某些平板电脑的竖版*/ | |
@media only screen and (min-width: 480px) and (max-width: 767px) {} | |
/* 仅iphone4 竖版*/ | |
@mediaonly screen and (max-width: 479px) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment