盒模型設計模式

盒模型設計模式是CSS內建的: 其屬性爲:display,width,height,padding,border,margin,background,overflow,visibility. padding:內邊距。內邊距相對元素背景是透明的 border:外邊框,包括大小,顏色,樣式 margin:外邊距,外邊距相對於父元素背景也是透明的,包括外邊距 的爲元素外盒(outer box) back
相關文章
相關標籤/搜索