摘要:
猫眼电影 实现目标 实现代码 <!DOCTYPE html> <html lang=""> <head> <title></title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial 阅读全文
posted @ 2022-09-20 15:30
莫扎特03
阅读(51)
评论(0)
推荐(0)
解决高度塌陷和外边距重叠(父随子margin-”仅限上下“移动)问题,after(完美解决float中的高度塌陷问题),befor(完美解决外边距重叠问题)。
.clearfix::before,
.clearfix::after {
content: "";
display: table;
clear: both;
} 阅读全文