Tag

box model

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 1, 2025 · Frontend Development

Understanding the CSS Box Model and Block Formatting Context (BFC)

This article explains the CSS box model, the differences between content-box and border-box sizing, introduces the concept of Block Formatting Context (BFC), shows how to trigger BFC with various CSS properties, and demonstrates practical layout solutions with code examples.

BFCCSSbox model
0 likes · 14 min read
Understanding the CSS Box Model and Block Formatting Context (BFC)
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 11, 2022 · Frontend Development

Mastering CSS Flow: How Layout, Width, and Height Interact

This article explains CSS's invisible flow mechanism, compares block and inline elements to water flow, and details how width, height, and box‑sizing affect layout, providing practical insights for creating fluid and robust front‑end designs.

CSSbox modelfrontend
0 likes · 14 min read
Mastering CSS Flow: How Layout, Width, and Height Interact
Yuewen Frontend Team
Yuewen Frontend Team
Apr 29, 2019 · Frontend Development

Why CSS Layout Feels Like Physics: Mastering the Box Model and Positioning

This article uses physical analogies to explain why converting design drafts to web prototypes is challenging, clarifies the box model, positioning, and floating concepts, and shows how to visualize CSS layout as a three‑dimensional structure for more intuitive front‑end development.

CSSbox modelfrontend
0 likes · 13 min read
Why CSS Layout Feels Like Physics: Mastering the Box Model and Positioning