<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
得到一个元素模拟,其中 font-size 值是 25px 到 80px。而且利润肯定太大了。当我在 Chrome 移动模拟器中测试布局时,这些字体看起来很大。 有什么理由使用如此巨大的字体值吗?还是设计机构的失误?
最佳答案
你可以试试字体大小;
font-size:medium;
值可以是这样的;
xx-small
,x-small
,small
,large
,xlarge
>,xxlarge
,smaller
,larger
,initial
,inherit
etc
此外,您可以尝试百分比,例如 50%
、200%
等。
你可以看看 CSS Font-Size: em vs. px vs. pt vs. percent
希望这对您有所帮助。
注意:始终向我们展示代码以帮助您。这就是 SO 的工作原理
关于html - 响应式移动网站 : huge margins, 模拟字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33032927/