Galaxy S24 screen size
The Galaxy S24 renders websites at 360×780 CSS pixels in portrait and 780×360 in landscape. It shares the exact same viewport as the Galaxy S23, so one test covers them all.
Viewport specs
| CSS viewport (portrait) | 360 × 780 px |
| CSS viewport (landscape) | 780 × 360 px |
| Aspect ratio | 6:13 |
| Breakpoint category | mobile |
| Device type | phone |
| Brand | Samsung |
CSS media query for Galaxy S24
/* Galaxy S24 — portrait */
@media (max-width: 360px) {
/* your styles */
}
/* Galaxy S24 — landscape */
@media (max-width: 780px) and (orientation: landscape) {
/* your styles */
}Testing tips for Galaxy S24
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 S24 viewport size?
The Galaxy S24 has a CSS viewport of 360×780 pixels in portrait orientation and 780×360 pixels in landscape.
What media query targets the Galaxy S24?
Use @media (max-width: 360px) for portrait styles, or @media (min-width: 360px) and (max-width: 360px) to target this exact width.
How do I test my website on the Galaxy S24?
Open Responsivly, paste your URL and pick Galaxy S24 from the device list — it renders your site at 360×780 for free, no signup.