-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
15-前端面试02-CSS盒模型及BFC的错误 #215
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先很感谢作者的辛苦编写文档,其次我在学习中好像发现了个问题;
文档中:上面的div结构中,如果父元素和子元素发生margin重叠,我们可以给子元素创建一个 BFC,就解决了:
我感觉父子元素margin重叠时,给子元素创建BFC是不行的吧,overflow: hidden应该加在父元素中
The text was updated successfully, but these errors were encountered: