题解 | #盒模型- 外边距折叠#
盒模型- 外边距折叠
https://www.nowcoder.com/practice/9c6f4a2626d34b798f20ed31ba17e441
.top,.bottom{
width: 100px;
height: 100px;
margin: 10px;
}
.top{
background-color: pink;
}
.bottom{
position: absolute;
background-color: blueviolet;
}
查看22道真题和解析