会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
To be or not to be
That is a question
新随笔
联系
管理
2020年4月22日
盒模练习及margin叠加
摘要: 边界叠加在元素之间维护了一致的距离 只有普通文档流中块框的垂直边界才会发生边界叠加。行内框、浮动框或绝对定位框之间的边界不会叠加。 解决方案: 1.外层padding 2.透明边框border:1pxsolidtransparent; 3.绝对定位postion:absolute: 4.外层DIVo
阅读全文
posted @ 2020-04-22 14:10 main(void)
阅读(126)
评论(0)
推荐(0)
编辑
公告
.c_ad_block { display: none !important; } #ad_t2{ display: none !important; }