首页 新闻 赞助 找找看
1
回答数

待解决问题 margin导致父元素塌陷,跟着子元素动

1.给父元素overflow:hidden 2.父元素设置padding top:1px 3.父元素设置border top:1px 透明