Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

viewport

Viewport = size of the screen

Useful information to know for mobile phones:
 1. "width=device-width" is saying "Use the width of the actual device"
 2. "initial-scale=1" is saying "Dont zoom in or out"
 
In practice:
<meta name="viewport" content="width=device-width, initial-scale=1"/>
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #viewport
ADD COMMENT
Topic
Name
8+4 =