首页前端开发CSSCss的字体样式属性大全

Css的字体样式属性大全

时间2024-05-24 13:46:03发布访客分类CSS浏览93
导读:CSS 属性: 字体样式(Font Style 1 字体样式 {font:font-style font-variant font-weight font-size font-family} 2 字体类型 {font-family:"字体...

CSS 属性: 字体样式(Font Style)

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:16位色值}

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|ultra-expanded|wider}

文本样式(Text Style)

1 { line-height:数值|inherit|normal; }

2 文本修饰 { text-decoration:inherit|none|underline|overline|line-through|blink}

3 段首空格 { text-indent:数值|inherit}

4 水平对齐 { text-align:left|right|center|justify}

5.垂直对齐{ vertical-align:inherit|top|bottom|text-top|text-bottom|baseline|middle|sub|super}

6 书写方式 { writing-mode:lr-tb|tb-rl}

声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!


若转载请注明出处: Css的字体样式属性大全
本文地址: https://pptw.com/jishu/667066.html
Css框架样式集锦 CentOS中如何使用tar命令打包和解压文件

游客 回复需填写必要信息