--- id: w3css-borders title: "W3CSS Borders" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["w3-border", "w3-leftbar", "W3.CSS ν…Œλ‘λ¦¬"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.89 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["w3css", "css-framework", "w3schools", "borders"] raw_sources: ["https://www.w3schools.com/w3css/w3css_borders.asp"] applied_in: [] github_commit: "" --- # [[W3CSS Borders]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) A border can be made "invisible" yet still functional as a hover trigger β€” setting `border:16px solid white` on an element paired with `w3-hover-border-green` creates a thick border that's visually undetectable against a white background until hovered, at which point it visibly appears in green, a trick that relies on the border occupying space without being seen. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **`w3-border` / `w3-border-{top,right,bottom,left}`** β€” adds borders to specific sides; `w3-border-0` removes all borders. [S1] - **`w3-border-COLOR`** β€” sets border color (e.g. `w3-border-red`). [S1] - **`w3-round-{small,large,xlarge,xxlarge}`** β€” rounds border corners at different intensities; plain `w3-round` is the default rounding. [S1] - **`w3-topbar` / `w3-bottombar` / `w3-leftbar` / `w3-rightbar`** β€” add THICK single-side borders (heavier than normal `w3-border-*`). [S1] - **`w3-hover-border-COLOR`** β€” changes border color specifically on mouse hover. [S1] - **Invisible-until-hover border trick** β€” a white/matching-background border becomes visible only on hover via `w3-hover-border-*`. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) - Directional borders: `

I have only a left border.

`. [S1] - Colored border: `

I have red borders.

`. [S1] - Thick bar border: `

I have a thick blue left border and a pale-blue background color.

`. [S1] - Invisible-until-hover: `

Thick (invisible) border that turns green on hover.

`. [S1] ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) μ†ŒμŠ€μ—μ„œ λͺ¨μˆœλ˜λŠ” μ •λ³΄λŠ” λ°œκ²¬λ˜μ§€ μ•ŠμŒ. ## πŸ› οΈ 적용 사둀 (Applied in summary) ν˜„μž¬ 발견된 μ‹€μ œ 적용 사둀가 μ—†μŠ΅λ‹ˆλ‹€ β€” λ°°κ²½κ³Ό 같은 μƒ‰μ˜ λ‘κΊΌμš΄ ν…Œλ‘λ¦¬λ₯Ό ν˜Έλ²„ μ‹œμ—λ§Œ λ“œλŸ¬λ‚΄λŠ” 트릭이 UI μΈν„°λž™μ…˜ λ””μžμΈμ˜ λŒ€ν‘œ μ‹€μ „ 사둀닀. [S1] ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) Invisible border that reveals itself on hover (HTML): ```html

Thick (invisible) border that turns green on hover.

``` ## βœ… 검증 μƒνƒœ 및 신뒰도 - **μƒνƒœ:** draft - **검증 단계:** conceptual - **좜처 신뒰도:** B (W3Schools β€” widely used educational reference, not a primary standards body) - **μ‹ λ’° 점수:** 0.89 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[W3.CSS Tutorial]] - **κ΄€λ ¨ κ°œλ…:** [[W3CSS Panels]], [[W3CSS Cards]], [[W3CSS Round]] - **μ°Έμ‘° λ§₯락:** νŒ¨λ„μ˜ μ‹œκ°μ  κ°•μ‘° 도ꡬ β€” μΉ΄λ“œ(Cards) μ±•ν„°λ‘œ 이어짐. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” W3.CSS Borders β€” https://www.w3schools.com/w3css/w3css_borders.asp ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Borders" page (Astra wiki-curation, P-Reinforce v3.1 format).