Bootstrap 3 Not XS on iPhone 5

2020-07-03 07:37发布

I'm having a very strange error while I'm making my bootstrap 3 website: for some reason it is not adapting to the smaller iPhone screen size (the navbar is not collapsing, and the "col-xs-..." seems to be getting ignored).

I have double checked the screen width on the iPhone (it's 320px), and my website is adapting fine on my desktop at 767px when I resize the browser. Only the iPhone seems to be giving me problems and I don't know how to diagnose the problem.

You can see the website at www.sparkmyinterest.com

Thanks for your ideas!

1条回答
▲ chillily
2楼-- · 2020-07-03 08:06

You don't have the meta viewport in your dom-head.

<meta name="viewport" content="width=device-width, initial-scale=1" />
查看更多
登录 后发表回答