iPhone 17 Pro screen size
The iPhone 17 Pro renders websites at 410×890 CSS pixels in portrait and 890×410 in landscape.
Viewport specs
| CSS viewport (portrait) | 410 × 890 px |
| CSS viewport (landscape) | 890 × 410 px |
| Aspect ratio | 0.461:1 |
| Breakpoint category | mobile |
| Device type | phone |
| Brand | Apple |
CSS media query for iPhone 17 Pro
/* iPhone 17 Pro — portrait */
@media (max-width: 410px) {
/* your styles */
}
/* iPhone 17 Pro — landscape */
@media (max-width: 890px) and (orientation: landscape) {
/* your styles */
}Testing tips for iPhone 17 Pro
Viewports this narrow are where layouts most often break: check that nothing scrolls sideways, buttons are at least 44px tall, and body text is 16px or larger.
Compare it against a tablet and a desktop width in the same view to catch breakpoint jumps — Responsivly's multi-view does this in one click.
FAQ
What is the iPhone 17 Pro viewport size?
The iPhone 17 Pro has a CSS viewport of 410×890 pixels in portrait orientation and 890×410 pixels in landscape.
What media query targets the iPhone 17 Pro?
Use @media (max-width: 410px) for portrait styles, or @media (min-width: 410px) and (max-width: 410px) to target this exact width.
How do I test my website on the iPhone 17 Pro?
Open Responsivly, paste your URL and pick iPhone 17 Pro from the device list — it renders your site at 410×890 for free, no signup.