Last active
September 25, 2017 19:14
-
-
Save pixelthing/ea8070d7d9efbdcd29f5ef89d50e4fba to your computer and use it in GitHub Desktop.
iPhone 6/7/8/X viewport sizes and 100vh - landscape
This file contains hidden or 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
╔══════════════╦═══════════╦═══════════╦══════════════╦═════╗ | |
║ Landscape ║ Window ║ Document ║ UI Chrome ║ ║ | |
╠══════════════╬═════╦═════╬═════╦═════╬════╦════╦════╣100vh║ | |
║ ║ X ║ Y ║ X ║ Y ║top ║bot ║all ║ ║ | |
╠══════════════╬═════╬═════╬═════╬═════╬════╬════╬════╬═════╣ | |
║ 8 full UI ║667px║375px║667px║325px║50px║0px ║50px║-50px║ | |
║ 8 scrolled ║667px║375px║667px║375px║0px ║0px ║0px ║ yes ║ | |
╠══════════════╬═════╬═════╬═════╬═════╬════╬════╬════╬═════╣ | |
║ 8+ full UI ║736px║414px║736px║364px║50px║0px ║50px║-50px║ | |
║ 8+ scrolled ║736px║414px║736px║414px║0px ║0px ║0px ║ yes ║ | |
╠══════════════╬═════╬═════╬═════╬═════╬════╬════╬════╬═════╣ | |
║ X full UI ║724px║375px║724px║325px║50px║0px ║50px║-50px║ | |
║ X scrolled ║724px║375px║724px║375px║0px ║0px ║0px ║ yes ║ | |
╚══════════════╩═════╩═════╩═════╩═════╩════╩════╩════╩═════╝ | |
╔═══════════════════════════════════════════════════════════╗ | |
║ with viewport-fit=cover ║ | |
╠══════════════╦═════╦═════╦═════╦═════╦════╦════╦════╦═════╣ | |
║ X full UI ║812px║375px║812px║325px║50px║0px ║50px║-50px║ | |
║ X scrolled ║812px║375px║812px║375px║0px ║0px ║0px ║ yes ║ | |
╚══════════════╩═════╩═════╩═════╩═════╩════╩════╩════╩═════╝ | |
iOS11.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment