font 用于在一个声明中设置所有的字体样式属性
1、必须至少有字体和大小
2、不能和line-height共生,字体大写/line-height
3、样式属性按照下面顺序排列
font-style:设定字体的风格
font-weight:设置字体的粗细
font-size:设置字体大小
font-family:设置字体系列,使用逗号分割每种字体
p{border: 1px solid red;font-style: inherit;font-weight: bold;font-size: 24px;font-family: 方正清刻本悦宋简体;
}
p{border: 1px solid red;height: 120px;text-align: center;font: italic bolder 24px/120px 方正清刻本悦宋简体;
}

