Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I use META viewport tag if using only desktop viewports?

As title says, should I use META viewport tag if I'm using only >991px and >1199px media queries in Bootstrap?

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

like image 343
Rafff Avatar asked Nov 21 '25 03:11

Rafff


1 Answers

If you're building your website exclusively for desktop browsing (so no mobile site / responsive site), then no. The viewport tag is only there to tell mobile browsers that you've taken their smaller screens into account.

Good read on this subject: http://blog.javierusobiaga.com/stop-using-the-viewport-tag-until-you-know-ho

like image 93
gpgekko Avatar answered Nov 22 '25 18:11

gpgekko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!