老狮
css字体样式属性
02/07
本文最后更新于2021年02月07日,已超过65天没有更新。如果文章内容或图片资源失效,请留言反馈,我会及时处理,谢谢!
最近一直在倒腾着博客的字体样式,博客都快被我玩坏了,无意间看到了一篇介绍字体的各种属性,于是便记录下来方便以后继续折腾。
序号 | 说明 | 标记语法 |
---|---|---|
1 | 字体样式 | {font:font-style font-variant font-weight font-size font-family} |
2 | 字体类型 | {font-family:"字体1","字体2","字体3",...} |
3 | 字体大小 | {font-size:数值:inherit、medium、large、larger、 x-large、 xx-large、small、smaller、x-small、xx-small} |
4 | 字体风格 | {font-style:inherit、italic、normal、oblique} |
5 | 字体粗细 | {font-weight:100-900、bold、bolder、lighter、normal;} |
6 | 字体颜色 | {color:数值;} |
7 | 阴影颜色 | {text-shadow:数值(0px 0px 0px #ffffff)} |
8 | 字体行高 | {line-height:数值inherit、normal;} |
9 | 字 间 距 | {letter-spacing:数值inherit、normal} |
10 | 单词间距 | {word-spacing:数值inherit、normal} |
11 | 字体变形 | {font-variant:inherit、normal、small-cps } |
12 | 英文转换 | {text-transform:inherit、none、capitalize、uppercase、lowercase} |
13 | 字体大小 | {font-size-adjust:数值inherit、none} |
14 | 字体宽窄 | {font-stretch:condensed、expanded、extra-condensed、extra-expanded、inherit、narrower、normal、semi-condensed、semi-expanded、ultra-condensed |


这个字体叫什么名字
nexzhu字体
你这个字体太粗了,看起来就挤在一起,有些字变形感觉都不认识了,读起来麻烦
字体很特色,只是主体的话,看的还是会有点累
我有2个备选字体哈哈