What are viewports and breakpoints?
Also known as: Viewport, Breakpoint, Responsive breakpoints, Media query breakpoints, Responsive web design
The viewport is the area of a web page currently visible in the browser window. Content outside it isn’t seen until the visitor scrolls. A breakpoint is a screen width at which a responsive website changes its layout, for example switching from three columns to one, or collapsing the navigation into a menu. Together they explain why the same web page can look very different on a phone, a tablet and a laptop.
Both are standard web development terms. MDN, Mozilla’s widely used developer reference, defines the viewport as the part of the document being viewed in the browser window, and describes breakpoints as the points at which a media query is introduced and the layout changes.
How responsive layouts work
Most modern websites use responsive web design: one site whose layout adapts to the screen it is shown on, rather than separate desktop and mobile sites.
- Media queries are CSS rules that apply styles only when conditions are met, such as the viewport being narrower than a certain width. MDN’s guide to using media queries covers the syntax.
- Breakpoints are the widths those media queries use. A site might have breakpoints at a few widths, each triggering a different arrangement of the same content.
- The viewport meta tag tells mobile browsers to use the device’s actual width, so breakpoints behave as intended on phones.
Note. Breakpoints are defined by each website’s code, not by devices. MDN recommends setting them where the content needs to change, rather than matching the size of individual devices. Two sites can have entirely different breakpoints.
Visual viewport and layout viewport
Browsers distinguish between the layout viewport, the area the browser draws the page into, and the visual viewport, the part actually visible at a given moment. When a visitor pinch-zooms on a phone, the visual viewport gets smaller while the layout viewport stays the same. This matters less for review than breakpoints do, but it explains why a screenshot of “the whole page” and what a visitor sees at any moment are not the same thing.
What changes between breakpoints
The words on a page usually stay the same across breakpoints. Their presentation often doesn’t:
| What can change | Example |
|---|---|
| Order and position | A claim and its footnote end up separated on mobile |
| Visibility | Content hidden behind accordions, tabs or a menu |
| Size and legibility | Body text or safety text rendered smaller |
| Persistent elements | A sticky safety information tray covering more of a small screen |
| Images and charts | Charts resized, cropped or replaced with simpler versions |
Why pharma websites are reviewed at multiple breakpoints
For most websites, breakpoints are a design and usability question. In US prescription drug promotion, they can also affect regulatory review.
FDA’s advertising regulation lists factors that affect whether risk information has prominence and readability reasonably comparable to effectiveness information, including typography, layout, contrast, headlines, paragraphing and white space (21 CFR 202.1(e)(7)(viii)). Because those factors change between breakpoints, a page that presents a claim with balanced safety information on desktop might not do so on a phone. This is a common reason medical, legal and regulatory reviewers ask to see a website at several widths. See fair balance and Important Safety Information.
In practice, review teams usually:
- Agree a set of breakpoints and viewports to review for each site, often covering mobile, tablet and desktop.
- Review fixed screenshots of each page at each breakpoint, so feedback ties to exactly what was seen.
- Prepare pages before capture, for example by expanding an ISI tray, opening accordions or dismissing a cookie banner.
- Recapture every breakpoint for each new version, so changes can be compared.
Capturing every page at every breakpoint by hand is slow, which is why many teams use automated website screenshots. The website screenshots for MLR review use case walks through the workflow.
Common misconceptions
- “Breakpoints are the same as device sizes.” They are set by the site’s code. A tablet in landscape might show the desktop layout.
- “Mobile is just a smaller desktop.” Content can be reordered, collapsed or hidden, not just scaled.
- “If the copy is approved, the layouts are fine.” Presentation affects prominence and readability, so each layout deserves a look.
References
Last reviewed December 2026. This glossary explains terms in general; it isn’t legal or regulatory advice.