当我将 chrome 更新到 28.0.1500.11 dev-m 时,我发现:
-webkit-text-size-adjust:none;
不再受支持,我在这里找到了更改列表 http://trac.webkit.org/changeset/145168
当我这样设置 CSS 时,它在 chrome 中不起作用:
font-size:10px;//number less than 12
在 chrome(版本:28.0.1500.11 dev-m)中,字体大小也是 12px
我试过这个:
font-size:10px;
-webkit-transform:scale(0.83);
display:inline-block;
我知道这可能不是解决该问题的正确方法
谢谢你的帮助
最佳答案
这个技巧帮我解决了:
Setting a max-height greater then the elements height on one of the parents elements seems to resolve this issue.
在这里找到:http://davemacaulay.com/webkit-text-size-adjust-doesnt-work-on-android-chrome/
关于css - -不再支持webkit-text-size-adjust,如何设置font-size小于12px,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16589785/