paint-brush
Do You Really Understand the Viewportby@shabab.ali
875 reads
875 reads

Do You Really Understand the Viewport

by Shabab Ali2mMarch 19th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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

@shabab.ali

L O A D I N G
. . . comments & more!

About Author

Shabab Ali HackerNoon profile picture
Shabab Ali@shabab.ali

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite