Last active
August 29, 2015 14:02
-
-
Save suxiaogang/50339cdfa3512522959b to your computer and use it in GitHub Desktop.
responsive.css
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
/*iPhone < 5*/ | |
@media screen and (device-aspect-ratio: 2/3) { | |
.content{ | |
width: 100%; | |
} | |
} | |
/*iiPhone 5*/ | |
@media screen and (device-aspect-ratio: 40/71) { | |
.content{ | |
width: 90%; | |
} | |
} | |
/*iPad*/ | |
@media screen and (device-aspect-ratio: 3/4) { | |
.content{ | |
width: 80%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment