close
基本標籤
color 前景色彩,也就是文字的顏色 色彩
background-image 背景圖片 url(網址)或none(沒有背景圖)
background-repeat 背景圖片是否重複填滿 repeat(重複填滿)或no-repeat(只出現一張)或repeat-x(只有水平方向重複)或repeat-y(只有垂直方向重複)
width 寬度 數值與單位或百分比
height 高度 數值與單位或百分比
margin 邊界,外框與外面的距離 數值與單位或百分比
margin-left 單獨設定左邊界 數值與單位或百分比
padding 補白,外框與內部文字的距離 數值與單位或百分比
overflow 東西太多掉出來時的顯示方式 auto(自動)或scroll(產生捲軸)或visible(直接顯示多出來的東西)或hidden(隱藏多出來的東西)
font-size 文字大小 數值與單位或百分比
font-weight 文字粗細 bold(粗體)或normal(一般)或百分比
float 浮動方式 left(往左)或right(往右)或none(不要浮動)
line-height 行高 數值與單位或百分比
letter-spacing 字距 數值與單位
text-align 文字對齊 left(齊左)或right(齊右)或center(置中)
position 移動位置時的算法 relative(相對位置)或absolute(絕對位置)
top 往下方移動多少 數值與單位或百分比
left 往右方移動多少 數值與單位或百分比

 

arrow
arrow
    全站熱搜

    lindaly0904 發表在 痞客邦 留言(0) 人氣()