The full name of BFC is Block Formatting Context. The layout of elements in BFC is not influenced by the outside worldCopy the code
(1) Triggering conditions of BFC: A. Float: none B. position: Absolute or fixed C. display: Inline-block, table-cell, flex, table-caption D. Overflow is not visible e. Root element (2)BFC function: a. Prevent margin from overlapping b. Adaptive two-column layout c. Prevents height collapse of the parent element of the floating elementCopy the code