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
Box是CSS布局对象的基本单位,直观的说,就是一个页面是由很多个Box组成的,元素的类型和display属性,决定了这个Box的类型。不同类型的Box,会参与到不同的Formatting Context(一个决定如何渲染文档的容器),因此Box内的元素会以不同的方式渲染。
两种box模型
Formatting Context 是W3C CSS2.规范中的一个概念。它是页面中一块渲染区域,并且有一套渲染规则,它决定了其子元素将如何定位以及和其他元素的关系和相互作用。最常见的Formatting Context 有Block Formatting Context(简称BFC)和Inline Formatting Context(简称IFC)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
文档布局对象
Box是CSS布局对象的基本单位,直观的说,就是一个页面是由很多个Box组成的,元素的类型和display属性,决定了这个Box的类型。不同类型的Box,会参与到不同的Formatting Context(一个决定如何渲染文档的容器),因此Box内的元素会以不同的方式渲染。
两种box模型
什么是Formatting Context
会生成BFC的元素
BFC规则
总结
The text was updated successfully, but these errors were encountered: