Gav*_*vin 11 css fonts google-chrome
我正在尝试使用-webkit-font-smoothingCSS属性控制谷歌浏览器(可怕的)字体抗锯齿,但它对文本完全没有影响.
<div style="font-size: 42px">
<p style="-webkit-font-smoothing: subpixel-antialiased">This is a font test.</p>
<p style="-webkit-font-smoothing: antialiased">This is a font test.</p>
<p style="-webkit-font-smoothing: none">This is a font test.</p>
</div>Run Code Online (Sandbox Code Playgroud)
我比较了Photoshop中的像素,三者完全相同.Chrome不再支持此属性了吗?
Ben*_*enM 15
https://productforums.google.com/forum/?fromgroups=#!topic/chrome/0vqp1bnkaoE
-webkit-font-smoothing不再有效.谷歌Chrome团队故意改变了这种行为.在以前的版本中,OSX上似乎没有"正确"应用字体平滑.
| 归档时间: |
|
| 查看次数: |
26630 次 |
| 最近记录: |