Do You Really Understand the Viewportby@shabab.ali
783 reads

Do You Really Understand the Viewport

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

The viewport defines the area of the screen that the browser can render the content to. Viewport size is based on the width of the browser window, rather than the pixel density of the display. By setting the “width=device-width” in the meta viewport tag we instruct the page to match the screen width in device-independent pixels. This allows the page. to reflow content to match screen sizes, whether rendered on a small, medium or large screen.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Do You Really Understand the Viewport
Shabab Ali HackerNoon profile picture

@shabab.ali

Shabab Ali
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa