Viewport
The viewport is the area of a web page that is currently available for presentation in the browser or other user agent.
CSS viewport units, responsive breakpoints and the HTML viewport meta element are commonly used when adapting interfaces to different screens.
The page area the browser is laying out
CSS viewport units, responsive breakpoints and the HTML viewport meta element are commonly used when adapting interfaces to different screens. In practical terms, Viewport belongs to the browser, server or document layer. Knowing that layer is important because it tells you what the term can change, what it cannot change, and where to look when something behaves unexpectedly.
How viewport width changes responsive behavior
On a phone, the layout viewport determines how CSS pixels map to the visible page and therefore which responsive rules apply.
Where the viewport differs from device size
You do not need to memorize the term in isolation. It becomes useful when you can recognize it in the tool, browser, file or conversation where the concept is doing real work.
Viewport is not the same thing as screen resolution
The viewport is the area of a web page that is currently available for presentation in the browser or other user agent. By contrast, A breakpoint is a chosen condition, usually a viewport width, at which a responsive layout changes. The two can appear in the same project, but they describe different parts of the work and should not be used as interchangeable labels.
The mistake: designing to one physical device
The common mistake is to use Viewport as if it also meant Breakpoint. That blurs two separate decisions and usually sends troubleshooting in the wrong direction. A better test is practical: Test actual viewport widths and ensure the page does not create accidental horizontal overflow.
Why layout decisions start with available space
In day-to-day work, Viewport matters when the concept needs to be identified precisely instead of being grouped with a nearby term. The practical value is not the vocabulary itself; it is being able to identify the right control, file, setting or decision when the concept becomes relevant.
On a phone, the layout viewport determines how CSS pixels map to the visible page and therefore which responsive rules apply. That example is useful because it turns the definition into something you can recognize, test and discuss with other people working on the same project.
Related terms worth learning next
Sources and further reading
Use these references when you need documentation-level detail, specifications or product-specific behavior beyond the plain-English explanation above.