在浏览大屏demo时发现样式中这两行代码
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
对字体进行抗锯齿渲染使字体看起来更清晰
-webkit-font-smoothing: none | subpixel-antialiased:默认值 | antialiased:抗锯齿 -moz-osx-font-smoothing: inherit | grayscale:抗锯齿
本文分享自 作者个人站点/博客 前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文参与 腾讯云自媒体同步曝光计划 ,欢迎热爱写作的你一起参与!