a meta tag will set the viewport of your page code example
Example 1: viewport meta tag
<meta name="viewport" content="width=device-width, initial-scale=1">
Example 2: viewport meta tag
<meta name="viewport" content="width=device-width, initial-scale=1.0">