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-block-buttons
|
||||
title: "How To - Full Width (Block) Buttons"
|
||||
category: "Web_Recipes"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["full width button 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"]
|
||||
raw_sources: ["https://www.w3schools.com/howto/howto_css_block_buttons.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[HOWTO CSS Block Buttons]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
A `<button>` is inline-block by default, so `width: 100%` alone does nothing until `display: block` is also set — this is the same "unconstrained-vs-constrained-width" dependency seen in `[[HOWTO CSS Center Website]]`'s `margin: auto`, just from the opposite direction: there, the element needed a WIDTH LIMIT to leave room for centering; here, the button needs its DISPLAY TYPE changed before a width percentage can have any visual effect on an inherently content-sized element. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **`display: block` + `width: 100%`** — both required together; a button (default `inline-block`) won't stretch to `100%` width without first becoming a block-level element. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
- `.block { display: block; width: 100%; border: none; padding: 14px 28px; text-align: center; }`. [S1]
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
없음 — 신규 레시피, 기존 문서와 모순되는 내용 없음.
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
현재 발견된 실제 적용 사례가 없습니다 — 컨테이너 전체 폭을 차지하는 버튼 하나의 최소 예제가 원문에서 제시됨. [S1]
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Block button — requires both display:block AND width:100% (CSS):
|
||||
```css
|
||||
.block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: none;
|
||||
padding: 14px 28px;
|
||||
text-align: center;
|
||||
}
|
||||
```
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference)
|
||||
- **신뢰 점수:** 0.78
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[W3Schools HOW TO]]
|
||||
- **관련 개념:** [[HOWTO CSS Alert Buttons]], [[HOWTO CSS Button Group]]
|
||||
- **참조 맥락:** CSS Buttons 섹션.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — How To - Full Width (Block) Buttons — https://www.w3schools.com/howto/howto_css_block_buttons.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-07-04: Initial draft synthesized from the W3Schools "How To - Full Width (Block) Buttons" recipe (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user