# Fonts

Property 描述
font 在一个声明中设置所有的字体属性
font-family 指定文本的字体系列
font-size 指定文本的字体大小
font-style 指定文本的字体样式
font-variant 以小型大写字体或者正常字体显示文本。
font-weight 指定字体的粗细。

# 字体样式

font-style: normal; /* 正常 */
font-style: italic; /* 斜体 */
font-style: oblique; /* 倾斜 */

# 字体大小

/* 16px=1em */
font-size: 40px;
font-size: 100%;
font-size: 2.5em;

# 字体粗细

font-weight: normal; /* 正常 */
font-weight: bold; /* 粗体 */
font-weight: bolder; /* 更粗 */
font-weight: lighter; /* 更细 */
font-weight: 900; /* 400 等于 normal,700 等于 bold */
font-weight: inherit; /* 继承 */