停止元视口响应 [英] Stop meta viewport responsiveness

查看:142
本文介绍了停止元视口响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



UPD



我需要知道如何设置20px字体大小,按比例调整,而不使用 meta viewport 。尝试使用元视口制作一个< h1> ,但没有一个,您会理解我的意思

解决方案

解决方案很简单。我只需要设置body min-width


Demo

I want to make responsiveness behaviour like at this site. There is meta viewport content set to width=device-width, initial-scale=1, maximum-scale=1, but if i resize browser vieport size by reducing its width (about 200px width and smaller), content scales proportionally and responsiveness "swithes off".

You can compare this site and jsFiddle demo with picture below. The same text with the same font-size, but scales differently.

UPD

I need to know how can i set 20px font size and it will scale proportionally like without using meta viewport. Try to make a <h1> with meta viewport and without one, you will understand what i mean

解决方案

The solution was simple. I needed just set body min-width

这篇关于停止元视口响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆