Css-margins屬性 邊距
為border往外延伸之處
四style
Margin-top(right/bottom/left)
每個屬性可以設定的值
1.
auto
2.
width,height
3.
百分比
4.
Inherit預設
合併後
上、右、下、左
p {
margin: 25px 50px 75px 100px;
}
margin: 25px 50px 75px 100px;
}
css-padding屬性 向border內填充
同上
沒有留言:
張貼留言