盒子模型(Box Model)

盒子模型(Box Model) ■ 盒子模型——概念 在網頁設計中經常使用的屬性名:內容(content),填充(padding),邊框(border),邊界(margin),CSS 盒子模式都具有這些屬性。 細節說明: ☛html 元素均可以當作一個盒子 ☛盒子模型的參照物不同,則使用的 css 屬性不同。好比:從 div1 的角度看,是 margin-right,從 div2 看,則是 mar
相關文章
相關標籤/搜索