STOP USING THE VIEWPORT META TAG (UNTIL YOU KNOW HOW TO USE IT) | Responsive Web Design

STOP USING THE VIEWPORT META TAG (UNTIL YOU KNOW HOW TO USE IT)

Are you just including what HTML5 boilerplate told you to include? Did you know that they’ve recently changed the meta viewport tag in the boilerplate? If you want to learn more then this is the article for you. Javier takes you through each of the options for the viewport and explains what they mean.

In the early years, when the smartphones came to Earth, they knew the Internet wasn’t prepared for them… so they expected every website to be around 1000px width (980px on the iPhone) and zoom out the website to fit into the screen. And so the

<meta name="viewport">

was created, basically to tell those smart dudes that your website was prepared for them.

An excerpt from STOP USING THE VIEWPORT META TAG (UNTIL YOU KNOW HOW TO USE IT)

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.