docs(10_Wiki): 위키 구조 정리 — 언어 튜토리얼 카테고리 폴더 제거 + 신규 자산 동기화
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고, Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
---
|
||||
id: howto-css-download-button
|
||||
title: "How To - Download Button"
|
||||
category: "Web_Recipes"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["download button with icon CSS"]
|
||||
duplicate_of: ""
|
||||
source_trust_level: "B"
|
||||
confidence_score: 0.78
|
||||
created_at: 2026-07-04
|
||||
updated_at: 2026-07-04
|
||||
review_reason: ""
|
||||
merge_history: []
|
||||
tags: ["howto", "css", "w3schools", "buttons", "icons"]
|
||||
raw_sources: ["https://www.w3schools.com/howto/howto_css_download_button.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[HOWTO CSS Download Button]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
This recipe pairs Font Awesome's icon-font approach (`<i class="fa fa-download"></i>` placed directly inside the button, before the text) with the SAME inline `style="width:100%"` technique already used in `[[HOWTO CSS Button Group]]`'s justified variant to make a full-width option — icons-in-buttons and full-width buttons are treated as orthogonal, independently-combinable choices rather than separate recipes. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **Icon-in-button pattern** — `<button class="btn"><i class="fa fa-download"></i> Download</button>` places the icon element directly before the button's text content, both inheriting the button's own font size/color. [S1]
|
||||
- **Auto vs. full width** — the same `.btn` class works for both; full width is achieved with an inline `style="width:100%"` rather than a separate CSS class. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
- `.btn { background-color: DodgerBlue; border: none; color: white; padding: 12px 30px; font-size: 20px; } .btn:hover { background-color: RoyalBlue; }`. [S1]
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
없음 — 신규 레시피, 기존 문서와 모순되는 내용 없음.
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
Font Awesome 다운로드 아이콘이 포함된 버튼을 auto width와 full width 두 가지로 각각 제시하는 예제가 원문에서 직접 제공됨. [S1]
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Icon + text button, auto or full width (HTML + CSS):
|
||||
```html
|
||||
<button class="btn"><i class="fa fa-download"></i> Download</button>
|
||||
<button class="btn" style="width:100%"><i class="fa fa-download"></i> Download</button>
|
||||
```
|
||||
```css
|
||||
.btn { background-color: DodgerBlue; border: none; color: white; padding: 12px 30px; font-size: 20px; }
|
||||
.btn:hover { background-color: RoyalBlue; }
|
||||
```
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference)
|
||||
- **신뢰 점수:** 0.78
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[W3Schools HOW TO]]
|
||||
- **관련 개념:** [[HOWTO CSS Icon Buttons]], [[HOWTO CSS Block Buttons]]
|
||||
- **참조 맥락:** CSS Buttons 섹션.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — How To - Download Button — https://www.w3schools.com/howto/howto_css_download_button.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-07-04: Initial draft synthesized from the W3Schools "How To - Download Button" recipe (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user