Created
June 18, 2016 17:02
-
-
Save aNd1coder/1bb8480a20f744b68bec8f5d3999542e to your computer and use it in GitHub Desktop.
iOS aspect ratio
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) {} | |
/*================iPhone 5==================*/ | |
@media screen and (device-aspect-ratio: 40/71) {} | |
/*================iPhone 6==================*/ | |
@media screen and (device-aspect-ratio: 375/667) {} | |
/*================iPhone 6+==================*/ | |
@media screen and (device-aspect-ratio: 16/9) {} | |
/*================iPad==================*/ | |
@media screen and (device-aspect-ratio: 3/4) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment