摘要: 图和图之间的缝隙可以用vertical-align: top; width设置100%,说明本身宽度是包含块的100%,如果包含块开启绝对定位,就要考虑给包含块父元素开启相对定位 clearfix是清除float导致的塌陷 垂直居中 top: 0; bottom: 0; margin: auto; 阅读全文
posted @ 2021-11-30 16:52 tanyayangyang 阅读(50) 评论(0) 推荐(0)