Check out example codes for "viewport". It will help you in understanding the concepts better.

Code Example 1

// viewport for web responsive design.. 

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

Code Example 2

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

Code Example 3

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

Code Example 4

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

Code Example 5

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

Code Example 6

<meta name="viewport" content="width=device-width, user-scalable=no">

Learn ReactJs, React Native from akashmittal.com