Galaxy Z Fold 5 (folded) screen size
The Galaxy Z Fold 5 (folded) renders websites at 374×839 CSS pixels in portrait and 839×374 in landscape.
Viewport specs
| CSS viewport (portrait) | 374 × 839 px |
| CSS viewport (landscape) | 839 × 374 px |
| Aspect ratio | 0.446:1 |
| Breakpoint category | mobile |
| Device type | phone |
| Brand | Samsung |
CSS media query for Galaxy Z Fold 5 (folded)
/* Galaxy Z Fold 5 (folded) — portrait */
@media (max-width: 374px) {
/* your styles */
}
/* Galaxy Z Fold 5 (folded) — landscape */
@media (max-width: 839px) and (orientation: landscape) {
/* your styles */
}Testing tips for Galaxy Z Fold 5 (folded)
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 Galaxy Z Fold 5 (folded) viewport size?
The Galaxy Z Fold 5 (folded) has a CSS viewport of 374×839 pixels in portrait orientation and 839×374 pixels in landscape.
What media query targets the Galaxy Z Fold 5 (folded)?
Use @media (max-width: 374px) for portrait styles, or @media (min-width: 374px) and (max-width: 374px) to target this exact width.
How do I test my website on the Galaxy Z Fold 5 (folded)?
Open Responsivly, paste your URL and pick Galaxy Z Fold 5 (folded) from the device list — it renders your site at 374×839 for free, no signup.