1
I use Bootstrap 3 in my project. I used Mozilla throughout the creation process, and the responsive design works great on it and Edge. When I went to test the pages in browsers that use Webkit (Chrome and Safari), they appear very different from what I had seen in Mozilla.
It seems that the same resolution activates the class .sm
on Mozilla, but remains on .md
in the Webkit. Below a comparison of the same page in two browsers.
On the left: Chrome. On the right: Mozilla Firefox.
Note that in Chrome, the navbar didn’t even get to the point of hiding the links and displaying a burger menu.
How can I fix this? Thank you.
Tell me, you’re following this here: Basic template?
– ShutUpMagda
@Shutupmagda Opa man, hit the nail on the head! The line was missing
<meta name="viewport" content="width=device-width, initial-scale=1">
in my code. You can write a reply in that post to mark as answered?– Mateus Bandeira