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,72 @@
|
||||
---
|
||||
id: w3css-badges
|
||||
title: "W3CSS Badges"
|
||||
category: "Programming_Language"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["w3-badge", "UTF-8 badges", "W3.CSS 배지"]
|
||||
duplicate_of: ""
|
||||
source_trust_level: "B"
|
||||
confidence_score: 0.87
|
||||
created_at: 2026-07-04
|
||||
updated_at: 2026-07-04
|
||||
review_reason: ""
|
||||
merge_history: []
|
||||
tags: ["w3css", "css-framework", "w3schools", "badges"]
|
||||
raw_sources: ["https://www.w3schools.com/w3css/w3css_badges.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[W3CSS Badges]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
W3.CSS provides exactly ONE badge class (`w3-badge`, circular black by default) and achieves every visual variation — colored, sized, positioned inside buttons/lists/tables — purely through combination with OTHER existing classes (`w3-color`, `w3-size`, `w3-right`, `w3-margin-*`), rather than offering dozens of badge-specific variants. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **`w3-badge`** — the ONLY badge class; circular, black by default. [S1]
|
||||
- **Color via composition** — `w3-badge w3-green`, `w3-badge w3-red`, etc. [S1]
|
||||
- **Size inheritance** — a badge inherits its container's font size by default; `w3-size` classes override it. [S1]
|
||||
- **Right-aligned list badges** — `w3-right` (float) + `w3-margin-right` positions a badge at the end of a list item. [S1]
|
||||
- **UTF-8 Dingbat alternative** — single-digit circled numerals (❶❷❸...➉) via Unicode escapes as a badge-free alternative for simple counters. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
- Basic badge: `<p>Updates <span class="w3-badge">9</span></p>`. [S1]
|
||||
- Colored: `<p>News <span class="w3-badge w3-green">6</span></p>`. [S1]
|
||||
- In a button: `<button class="w3-btn w3-black">Button <span class="w3-badge w3-margin-left w3-white">1</span></button>`. [S1]
|
||||
- Right-aligned in a list: `<li>Jill <span class="w3-badge w3-right w3-margin-right">1</span></li>`. [S1]
|
||||
- UTF-8 dingbat numerals: `❶ ❷ ❸` (❶ ❷ ❸) inside a `w3-xxlarge` div. [S1]
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
소스에서 모순되는 정보는 발견되지 않음.
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
현재 발견된 실제 적용 사례가 없습니다 — 리스트 항목 끝에 우측 정렬된 배지를 붙이는 것이 카운터/알림 표시의 대표 실전 사례다. [S1]
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Right-aligned badge in a list item (HTML):
|
||||
```html
|
||||
<ul class="w3-ul w3-border">
|
||||
<li>Jill <span class="w3-badge w3-right w3-margin-right">1</span></li>
|
||||
<li>Eve <span class="w3-badge w3-right w3-margin-right">2</span></li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
||||
- **신뢰 점수:** 0.87
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[W3.CSS Tutorial]]
|
||||
- **관련 개념:** [[W3CSS Input]], [[W3CSS Tags]], [[W3CSS Lists]]
|
||||
- **참조 맥락:** 하나의 클래스를 다른 클래스와 조합하는 설계 원칙 — 태그(Tags) 챕터로 이어짐.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — W3.CSS Badges — https://www.w3schools.com/w3css/w3css_badges.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Badges" page (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user