以下一大堆样式:
font-style:normal; // 指定文本字体样式
font-variant:small-caps; // 指定文本是否为小型的大写字母
font-weight:bold; // 指定文本字体的粗细
font-size:12px; // 指定文本字体尺寸
line-height:1.5em; // 指定文本字体的行高
font-family:"微软雅黑",arial,verdana; // 指定文本使用某个字体或字体序列
font-variant:small-caps; // 指定文本是否为小型的大写字母
font-weight:bold; // 指定文本字体的粗细
font-size:12px; // 指定文本字体尺寸
line-height:1.5em; // 指定文本字体的行高
font-family:"微软雅黑",arial,verdana; // 指定文本使用某个字体或字体序列
可以简写成:
font:normal small-caps bold 12px/1.5em "微软雅黑",arial,verdana;
顺序:font-style | font-variant | font-weight | font-size | line-height | font-family