css字体样式属性

序号 说明 标记语法
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

来源:https://laolion.com/


css字体样式属性
http://yoursite.com/2022/08/17/网页/fontcss/
作者
雨停之後
发布于
2022年8月17日
许可协议