--- id: w3css-flex-items title: "W3CSS Flex Items" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["flex-grow", "flex-shrink", "order property", "W3.CSS 플렉스 아이템"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.88 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["w3css", "css-framework", "w3schools", "flexbox", "flex-items"] raw_sources: ["https://www.w3schools.com/w3css/w3css_flex_items.asp"] applied_in: [] github_commit: "" --- # [[W3CSS Flex Items]] ## 🎯 한 줄 통찰 (One-line insight) The `order` property completely decouples VISUAL order from SOURCE-CODE order — an item written fourth in the HTML can be assigned `order:1` and appear FIRST on screen, meaning flexbox lets you reorder content visually without touching the underlying markup, useful for responsive layouts where mobile/desktop need different visual sequences from the same HTML. [S1] ## 🧠 핵심 개념 (Core concepts) - **`order`** — controls visual display order independent of HTML source order (default 0). [S1] - **`flex-grow`** — how much an item grows relative to siblings when extra space is available; default 0 (no growth). [S1] - **`flex-shrink`** — how much an item shrinks relative to siblings when space is tight; default 1 (shrinks normally); `flex-shrink:0` prevents an item from shrinking at all. [S1] - **`flex-basis`** — the item's initial size before grow/shrink calculations apply. [S1] - **`flex`** — shorthand for `flex-grow flex-shrink flex-basis` in one declaration. [S1] - **`align-self`** — overrides the container's `align-items` value for ONE specific item. [S1] ## 📖 세부 내용 (Details) - Reordering via `order`: `