您现在的位置: 万盛学电脑网 >> 程序编程 >> 网页制作 >> DivCSS教程 >> 正文

css的字体属性详解

作者:佚名    责任编辑:admin    更新时间:2022-06-22

   font-style:

  inherit:继承

  italic:斜体

  normal:正常

  oblique:偏斜体

  font-size:

  xx-small: 取所有相对大小取值中最小的;

  x-small:仅大于xx-small的字体

  small:默认的小字体

  medium:默认值

  large:默认的大字体

  x-large:仅小于xx-large

  xx-large:最大的字体

  text-decoration:

  inherit: 继承

  none:无文本修饰,缺省设置

  underline:下划线

  overline:顶划线

  line-through:删除线

  blink:是文本闪烁

  font-weight:

  bold:粗体 相当于数值700

  bolder:特粗体

  lighter:细体

  normal:正常体 数值400