Check out example codes for "chrome toggle device toolbar not working". It will help you in understanding the concepts better.

Code Example 1

<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />

Learn ReactJs, React Native from akashmittal.com