CSS缩写 收藏
2010年02月13日


字体
font:font-style | font-variant | font-weight | font-size | line-height | font-family ;

Margin & Padding
magin: magin-top | margin-right | margin-bottom | margin-left;
P {magin:20px;}
P {magin:20px 10px;}
P {magin:20px 10px 100px;}
上边距20px,左右10px,下边距100px


边框

border:border-width | border-style | color

border-top:border-width | border-style | color
border_right:border-width | border-style | color
border-bottom:border-width | border-style | color
border-left:border-width | border-style | color


border-width: top | right | bottom | left
border-color: top | right | bottom | left
border-style: top | right | bottom | left

支持1-4个参数的缩写


List 列表缩写
list-style:list-style-type | list-style-position | list-style-image


Background 缩写

background: background-color | background-image |background-repeat | background-attachment | background-position

color 缩写













 

本文永久链接: http://www.zzxj.net/blog/fxs_2008/archive/2010/02/13/113.html

发表于 @ 2010年02月13日 |评论(loading... )|收藏

发表评论 姓  名: