Answers for "viewport meta tag in the head section that configures the width to the device-width and sets the initial-scale"

5

Add a viewport meta tag to the document head to set the width of the layout viewport equal to the width of the device and set the initial scale of the viewport to 1.0.

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Posted by: Guest on October-07-2020

Code answers related to "viewport meta tag in the head section that configures the width to the device-width and sets the initial-scale"

Browse Popular Code Answers by Language