简体   繁体   English

在移动设备上,最佳做法是使用'width = device-width'设置字体大小?

[英]On mobile, best practice for font-size with 'width=device-width'?

在移动网站上,同时利用width=device-width视口设置来设置文本大小的最佳方法是什么?

How about the percent for style? 款式的百分比怎么样? Like 100% or 90%. 就像100%或90%。

I like to use vw because it zooms really well on tablets. 我喜欢使用大众汽车,因为它可以在平板电脑上很好地缩放。 You'll need to use multiple media queries for phones/tablets, though. 不过,您需要对手机/平板电脑使用多个媒体查询。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM