Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

字体平滑

非标准
该特性是非标准的,请尽量不要在生产环境中使用它!

概述

font-smooth CSS 属性用来控制字体的渲染效果。

Note: Webkit implements something similar with a different name: -webkit-font-smoothing and different values: none, antialiased and subpixel-antialiased. However, just like font-smooth, this is non-standard and should not be used.

语法

font-smooth:  auto | never | always | [ <absolute size> || <length> ]

规范

Though present in early (2002) drafts of CSS3 Fonts, font-smooth has been removed from this specification and is currently not on the standard track.

浏览器兼容性

Feature Firefox (Gecko) Chrome Internet Explorer Opera Safari
Basic support 未实现 未实现 (see note) 未实现 未实现 未实现(see note)
Feature iOS Safari Opera Mini Opera Mobile Android Browser
Basic support 未实现 未实现 未实现 未实现

 

文档标签和贡献者

标签: 
 此页面的贡献者: xgqfrms, teoli, Wenbin
 最后编辑者: xgqfrms,