博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
webkit.net 字体_Webkit和Firefox中的字体平滑
阅读量:2512 次
发布时间:2019-05-11

本文共 1108 字,大约阅读时间需要 3 分钟。

webkit.net 字体

I don't pretend to be a typography or design expert -- I just know what looks good and what doesn't.  A few years ago I saw a few CSS properties I didn't recognize and when I toggled them on and off, the text went from beautiful to...not so beautiful.  It was a welcome to the .  I recommend to learn more about what font smoothing is, but in this post I'll give you the CSS properties and values you need to know:

我不假装自己是版式或设计专家,我只知道什么看起来不错,什么不好。 几年前,我看到了一些我不认识CSS属性,当我打开和关闭它们时,文本从漂亮变成了……不太漂亮。 这是欢迎。 我建议以了解有关什么是字体平滑的更多信息,但是在本文中,我将为您提供您需要了解CSS属性和值:

body {	-webkit-font-smoothing: antialiased;	-moz-osx-font-smoothing: grayscale;}

The difference in font presentation with and without font smoothing is fairly significant:

带有和不带有字体平滑的字体呈现方式的差异是非常明显的:

With smoothing:

Font Smoothing - With

使用平滑:

Without smoothing:

Font Smoothing - Without

不进行平滑处理:

The difference is subtle but usually eye-pleasing and softer. When you go about picking custom fonts for your next website, try to experiment with font smoothing -- it may have a large effect on content readability!

差别很小,但通常令人赏心悦目且柔和。 在为下一个网站选择自定义字体时,请尝试进行字体平滑处理-这可能对内容的可读性有很大影响!

翻译自:

webkit.net 字体

转载地址:http://yzpwd.baihongyu.com/

你可能感兴趣的文章
访问修饰符、封装、继承
查看>>
更换pip源到国内镜像,提升pip下载速度.
查看>>
POJ 2265 Bee Maja (找规律)
查看>>
Kendo MVVM 数据绑定(七) Invisible/Visible
查看>>
[zz]kvm环境使用libvirt创建虚拟机
查看>>
bzoj1059 [ZJOI2007]矩阵游戏
查看>>
插入返回ibatis 的selectKey 实现插入数据后获得id
查看>>
vim 程序编辑器
查看>>
LIS(单调队列优化 C++ 版)(施工ing)
查看>>
刚接触Vuex
查看>>
四种加载React数据的技术对比(Meteor 转)
查看>>
Airthmetic_Approching
查看>>
操作文本文件
查看>>
公司项目的几个问题
查看>>
解决win7下打开Excel2007,报“向程序发送命令时出现问题”的错误
查看>>
Velocity快速入门教程
查看>>
关于集合常见的问题
查看>>
车牌正则表达式
查看>>
Win form碎知识点
查看>>
避免使用不必要的浮动
查看>>