We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
BFC(Block Formatting Context)块级格式化上下文,是页面盒模型的一种CSS渲染模式。具有BFC特性的元素可以看做是一个的独立容器,容器里面的元素不会在布局上影响到外面的元素。
参考: https://juejin.cn/post/7057918157972832292#heading-4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
一、BFC
1.1 概念
BFC(Block Formatting Context)块级格式化上下文,是页面盒模型的一种CSS渲染模式。具有BFC特性的元素可以看做是一个的独立容器,容器里面的元素不会在布局上影响到外面的元素。
1.2 如何创建BFC
二、BFC的应用
参考: https://juejin.cn/post/7057918157972832292#heading-4
2.1 防止父元素“高度塌陷“
2.2 解决margin重叠的问题
2.2 清除浮动
2.3 实现两列布局(一列定宽,一列自适应)
The text was updated successfully, but these errors were encountered: