8月9日
css屬性二
list列表屬性
list-style:設置列表屬性type、position、image
list-style-image:以圖片替代列表項的標記,url(“”)
list-style-position:列表標記的位置,inside、outside(默認)、inherit
list-style-type:列表標記樣式,none、disc(默認,實心圓)、circle(空心圓)
square:實心方塊、decimal:數字、cjk-ideographic:表意數字(一 二 三這些)
margin外邊框屬性(面試的考點)
margin:外邊距距離px,當只有一個值(10px)時表示:上右左下
當有兩個值(10px,20px)時表示:上下(10px)、右左(20px)
當有三個值(10px、15px、20px)時表示上(10px)、右左(15px)、下(20px)
當兩個值(10px auto)出現auto時表示:上下(10px),右左(auto)
當三個值(10px 20px auto)時表示:上(10px)左右(20px)下(auto)
margin-bottom(left、right、top):各自設置上下左右的外邊距。