Skip to content
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

element with display flex do not create a new BFC itself #159

Open
tiansh opened this issue Jan 15, 2019 · 0 comments
Open

element with display flex do not create a new BFC itself #159

tiansh opened this issue Jan 15, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@tiansh
Copy link

tiansh commented Jan 15, 2019

In CSS section, the answer says "A BFC is an HTML box that satisfies at least one of the following conditions: ... The value of display is table-cell, table-caption, inline-block, flex, or inline-flex."

display flex create a new flex formatting context, not block formatting context. Only flex items (its children) create new BFC.

@yangshun yangshun added the help wanted Extra attention is needed label Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants