摘要: inline-block 必须要配合 vertical-align属性来用,不然就会出现莫名其妙的问题。 就是这个行模型啊,它的基线是根据最高的那个 inline-box 来确定的。 winter 老师建议,inline 的盒子的 vertical-align 只用 top || bottom || 阅读全文
posted @ 2020-06-30 12:32 jaiodfjiaodf 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 以前我一直以为 border-box 包含了 margin... 阅读全文
posted @ 2020-06-30 09:59 jaiodfjiaodf 阅读(137) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1735070/202006/1735070-20200630091538450-667971814.png) 阅读全文
posted @ 2020-06-30 09:16 jaiodfjiaodf 阅读(168) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1735070/202006/1735070-20200630152531592-1496798472.png) 阅读全文
posted @ 2020-06-30 09:15 jaiodfjiaodf 阅读(295) 评论(0) 推荐(0) 编辑