ST表求LCA
阿新 • • 發佈:2020-10-18
第三天學習內容:
- CSS三大特性
2.盒子模型原理
3.盒子模型 - 邊框 border
4.盒子模型 - 內邊距 padding - 盒子模型 - 外邊距 margin
其中:
1.行內元素和行內塊元素水平居中 :
1.給其父盒子新增 text-align: center;
1.給其父盒子新增 text-align: center;
1.給其父盒子新增 text-align: center;
2.外邊距合併-相鄰塊元素垂直外邊距
1.上面的盒子有 margin-bottom ,下面的盒子有 margin-top ,取最大值
1.上面的盒子有 margin-bottom ,下面的盒子有 margin-top ,取最大值
2.外邊距合併-巢狀塊元素塌陷
1.父子元素同時具有上外邊距
1.父子元素同時具有上外邊距
1.父子元素同時具有上外邊距
父親外邊框
父親padding
overflow:hadden
記得不是很熟悉