viewport head tag code example
Example 1: viewport meta tag
<meta name="viewport" content="width=device-width, initial-scale=1">
Example 2: how to set viewport in html
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">