CSS中font

html-css010

CSS中font,第1张

font : font-style || font-variant || font-weight || font-size || line-height || font-family

第一个normal是font-style, normal : 默认值。正常的字体

第二个normal是font-variant, normal : 默认值。正常的字体

第三个normal是font-weight, normal : 默认值。正常的字体

font-size-adjust : none | number;

none:默认值。允许字体序列中每一字体遵守它的自己的尺寸

number:  为字体序列中所有字体强迫指定同一尺寸

说明:

设置或检索用于对象中文本的字体名称序列是否强制使用同一尺寸。

对应的脚本特性为 fontSizeAdjust 。

示例:

p { font-family: arial, courierfont-size-adjust: none}

p { font-family: verdana, courierfont-size-adjust: .56}

注意:兼容性:无 继承性:有 木有兼容性 你用它干嘛,一般都用不到