CSS盒子模型筆記

五、盒子模型 1、簡介 盒子模型是網頁佈局的基礎,將頁面中所有元素都看作是一個盒子,盒子都包含以下幾個屬性: ·width 寬度 ·height 高度 ·border 邊框 ·padding 內邊距 ·margin 外邊距 2.盒子模型 2.1 border 表示盒子的邊框 分爲四個方向: 上top、右right、下bottom、左left border-top、border-right、bord
相關文章
相關標籤/搜索