属性是CSS非常重要的部分,以下是CSS属性:
字体属性:
备注:
1.“font-variant”属性值“small-caps”在指定的小体大写字体不存在的时候,CSS将用大写字母代替所有的小写字母。
2.使用font属性定义:
font :font-style属性值|| font-variant属性值||font-weight属性值||font-size属性值||font-family属性值
没有定义的以默认值显示
颜色和背景属性
备注:
1.使用background属性定义:
background:background-color属性值|| background-image属性值||background-repeat属性值||background-attacement属性值||background-position属性值
没有定义的以默认值显示
文本属性
边距属性
填充距属性(文本边框与文本之间的距离)
边框属性
“容器”其余属性
分级属性
鼠标属性
定位属性