Css的字体样式属性大全

2024-01-18 15:31 小编

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

字体样式 {font:font-style font-variant font-weight font-size font-family}

字体类型 {font-family:"字体1","字体2","字体3",...}

字体大小 {font-size:数值|inherit| medium| large| larger| x-large| xx-large| small| smaller| x-small| xx-small}

字体风格 {font-style:inherit|italic|normal|oblique}

字体粗细 {font-weight:100-900|bold|bolder|lighter|normal;}

字体颜色 {color:数值;}

阴影颜色 {text-shadow:16位色值}

字体行高 {line-height:数值|inherit|normal;}

   {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)

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

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

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

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

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

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


Tag: 大全
在线咨询 拨打电话

电话

13363039260

微信二维码

微信二维码