What is the viewport meta tag and why is it needed for Bootstrap?

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

Without it, mobile browsers pretend to have a wide screen (about 980px) and shrink the page, and the Bootstrap breakpoints do not work as expected. See Bootstrap Get Started.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.