How to set Viewport?

CSSWeb DevelopmentFront End Technology

Set Viewport using the following

<meta name = "viewport" content = "width = device-width, initial-scale = 1.0">

Here, <meta>: instruct the browser to control the dimension of the web page

          width = device-width sets the screen width

          initial-scale = 1.0 is the initial zoom level

raja
Published on 24-May-2018 09:20:22
Advertisements