Landing Page Dimensions: Responsive Widths and Image Sizing
June 11, 2026
Author: Shusaku Yosa
There is no single landing page width or image size that works best for every device. Separate the space available in the browser from the pixel dimensions of an image file. Design a flexible layout that people can read and operate, then specify image candidates, crops, and acceptance checks for the actual design.
Separate viewport width, CSS pixels, and image dimensions
The viewport is the browser’s area for displaying a page. CSS pixels describe layout dimensions; they are not interchangeable with a device’s physical screen pixels. Browser width, zoom, and display density affect how the same file appears.
Term | What it describes | What the brief should specify |
|---|---|---|
Viewport width | Browser space available for the page | CSS pixel width and zoom conditions |
Rendered CSS width | Space occupied by an element in the layout | Actual image width after margins |
Image pixel dimensions | Pixel width and height of the file | Candidates for the display area and density |
DPR | Ratio of device pixels to CSS pixels | Candidate selection under the viewing conditions |
Transfer size | Data sent when loading the asset | Compression and format as well as dimensions |
MDN’s responsive design guidance describes adapting content to available space. Treating one phone width or one desktop background image as universally sufficient does not establish that the page works at other widths or zoom levels.
Design a flexible layout with readable content widths
Begin with an order for headings, text, images, calls to action, and forms that works in a narrow space. When more width becomes available, keep text comfortably readable instead of stretching every paragraph across the browser. A content maximum is a design choice to evaluate with actual typography, copy, and accompanying visuals.
Choose layout changes when the content needs them. Two columns may become cramped, a label may disappear, or a button may truncate its text. Reorganize the layout at the point where those problems occur. Device names alone do not define the right breakpoints, and intermediate widths still need testing.
- Establish reading order and the action visitors should take.
- Check whether fixed-width images or tables force their container wider.
- Keep important conditions in readable page text, not only inside an image.
- Test long headings, long input values, and error messages.
Calculate image candidates from rendered width and pixel density
Consider a hypothetical single-column design with a 390 CSS pixel viewport and 16 CSS pixel margins on each side. The rendered image width is 390 − 16 × 2 = 358 CSS pixels. The same layout width can have different candidate file widths for different pixel densities.
Condition | Rendered image width | Calculation | Candidate file width |
|---|---|---|---|
DPR 1 | 358 CSS pixels | 358 × 1 | 358 pixels |
DPR 2 | 358 CSS pixels | 358 × 2 | 716 pixels |
DPR 3 | 358 CSS pixels | 358 × 3 | 1,074 pixels |
This arithmetic helps plan candidates. It is not a rule to create exactly three files or send the largest one to everyone. Adjust candidates for the range of actual rendered widths, production limits, acceptable visual quality, and transfer size. An image exported at twice the display width is not automatically optimal in every context.
MDN’s responsive images guide explains srcset and sizes, which communicate image candidates and expected layout sizes to the browser. Check which resource the browser actually chooses. A separate crop that preserves the subject on a narrow screen is an art-direction decision, different from providing a higher-resolution version of the same composition.
Brief image crops, formats, and transfer size
An image brief should specify more than pixel width. Record the purpose, crop, candidate resources, and space to reserve while loading. The following fictional example needs adapting to the real design rather than copying as a universal specification.
Item | Illustrative brief | Acceptance check |
|---|---|---|
Purpose and display area | Wide explanatory image; one column in narrow layouts | Actual CSS width and aspect ratio |
Crop | Keep the subject central and essential information away from edges | Narrow crop retains the explanation |
Candidate dimensions | Adjust 358/716/1,074 pixel candidates to the conditions | Inspect srcset, sizes, and selected resource |
Format | Compare AVIF, WebP, JPEG, or another appropriate format | Quality, transparency, compatibility, transfer size |
Reserved space | Provide dimensions or an aspect ratio | Loading does not substantially displace content |
Loading priority | Identify whether this is the initially visible main image | Do not routinely lazy-load an LCP image |
Use MDN’s multimedia performance guidance when comparing formats and compression. A format’s name alone does not establish the smallest suitable file. Compare the actual asset at acceptable quality. Check that scaling or cropping has not removed details needed to understand it.
Check the main image, loading, and layout stability
If the main image delays the page, investigate when the browser discovers it and starts loading it as well as its file size. Largest Contentful Paint, or LCP, concerns the appearance of major content in the viewport. Verify whether the measured element is an image or text on the actual page.
The web.dev LCP optimization guide explains why discovery and loading delays matter for LCP images. If the initially visible main image is the LCP element, avoid routinely lazy-loading it. Images farther down the page need a separate decision; giving everything the same priority can create resource competition.
Reserve the image’s space before it loads and check whether paragraphs or buttons move substantially afterward. Dimensions or an aspect ratio should work with a layout that still fits narrow widths. Record connection, device, and cache conditions during measurement, and do not assume that pixel dimensions explain every slow LCP result.
Test viewport widths, zoom, and forms before release
Agree acceptance conditions before production. The viewport widths below are example test points, not a ranking of device popularity or optimal dimensions. Add relevant audience environments and widths immediately around layout changes.
Example condition | What to inspect | Example acceptance condition |
|---|---|---|
320 CSS pixels | Text, calls to action, and forms | Ordinary content does not require horizontal scrolling to read |
390 CSS pixels | Image crop and spacing | Subject remains clear; text does not collide with imagery |
768 CSS pixels | Intermediate layout and reorganization | Columns and reading order remain usable |
1,280 CSS pixels | Text width and whitespace | Long lines and oversized images do not impair reading |
Zoom and keyboard | Reflow and operation | Content remains readable; focus and errors remain visible |
The W3C’s Reflow explanation addresses ordinary vertically read content at a width equivalent to 320 CSS pixels. Testing 400% zoom from a 1,280 CSS pixel width is one way to examine that condition. Content whose meaning requires a two-dimensional layout, such as some tables, needs individual treatment; that exception does not justify overflowing ordinary paragraphs.
- Test enlarged content, calls to action, required fields, long values, and errors.
- Operate the page with a keyboard and check that focus is visible.
- Verify that crops and readable text preserve the intended information.
- Record transfer size and LCP under comparable conditions, along with issues and owners.
This worksheet does not certify overall accessibility conformance. It gives the design and production team concrete conditions for width, image delivery, and usability. Agree those conditions in the brief and verify them on the resulting page instead of relying on one supposedly ideal landing page size.
Continue with these related practical guides:


