docs(10_Wiki): Topic_Business/General/Graphic/Programming을 Topics/ 하위로 이동
최상위 10_Wiki/Topic_*였던 4개 카테고리 폴더를 10_Wiki/Topics/Topic_* 로 재배치. 콘텐츠 변경 없음(순수 폴더 이동) — Topics/ 하위 나머지 폴더는 이미 지난 커밋에서 전부 정리된 상태(잔존 항목은 에이전트 운영 상태 및 사용자가 보존을 요청한 업데이트0615/무제 3.canvas 뿐).
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
---
|
||||
id: w3css-margins
|
||||
title: "W3CSS Margins"
|
||||
category: "Programming_Language"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["w3-margin", "w3-section", "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", "margins"]
|
||||
raw_sources: ["https://www.w3schools.com/w3css/w3css_margins.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[W3CSS Margins]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
`w3-section` exists specifically because many HTML elements have NO default top/bottom margin — the source demonstrates two colored blocks touching with zero gap between them until `w3-section` is added, showing this class solves a real visual problem (elements running together) rather than being purely decorative. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **`w3-margin`** — 16px margin on ALL sides. [S1]
|
||||
- **`w3-margin-{top,right,bottom,left}`** — 16px margin on one specific side. [S1]
|
||||
- **`w3-section`** — 16px TOP and BOTTOM margin, specifically to separate stacked elements that lack default spacing. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
- All-sides margin: `<div class="w3-container w3-margin"><p>I have 16px margin on all sides.</p></div>`. [S1]
|
||||
- Directional margin: `<div class="w3-container w3-margin-top"><p>I have 16px margin on the top.</p></div>`. [S1]
|
||||
- Section separation: `<div class="w3-container w3-section w3-blue"><h1>I am Blue</h1></div> <div class="w3-container w3-section w3-green"><h1>I am Green</h1></div>` — without `w3-section`, the two blocks would touch with no gap. [S1]
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
- **기본 마진이 없는 요소 문제**: 많은 HTML 요소에 기본 상하 마진이 없어 서로 붙어버리는 문제를 w3-section이 해결한다는 점이 시각적 비교로 증명됨. [S1]
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
현재 발견된 실제 적용 사례가 없습니다 — 연속된 컨테이너 블록들을 w3-section으로 구분하는 것이 레이아웃 분리의 대표 실전 사례다. [S1]
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Separating stacked blocks with w3-section (HTML):
|
||||
```html
|
||||
<div class="w3-container w3-section w3-blue"><h1>I am Blue</h1></div>
|
||||
<div class="w3-container w3-section w3-green"><h1>I am Green</h1></div>
|
||||
```
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
||||
- **신뢰 점수:** 0.88
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[W3.CSS Tutorial]]
|
||||
- **관련 개념:** [[W3CSS Padding]], [[W3CSS RTL]]
|
||||
- **참조 맥락:** 마진 시스템 — RTL(오른쪽에서 왼쪽) 레이아웃 챕터로 이어짐.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — W3.CSS Margins — https://www.w3schools.com/w3css/w3css_margins.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Margins" page (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user