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,74 @@
|
||||
---
|
||||
id: w3css-display
|
||||
title: "W3CSS Display"
|
||||
category: "Programming_Language"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["w3-display-container", "positioning classes", "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", "display", "positioning"]
|
||||
raw_sources: ["https://www.w3schools.com/w3css/w3css_display.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[W3CSS Display]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
The nine `w3-display-*` position classes only work as children of a `w3-display-container` — text placed inside an `<img>`'s wrapping container using `w3-display-topleft`/`w3-display-bottomright`/etc. can even simulate a flag graphic purely from four colored positioned blocks, showing the position system is really absolute positioning against one specific parent, not a general-purpose overlay tool. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **`w3-display-container`** — the required parent wrapper for all `w3-display-*` position classes. [S1]
|
||||
- **9 position classes** — `topleft`, `topright`, `bottomleft`, `bottomright`, `left`, `right`, `middle`, `topmiddle`, `bottommiddle`. [S1]
|
||||
- **`w3-display-hover`** — content stays hidden until the container is hovered, then appears — combinable with effect/animation classes for interactive overlays. [S1]
|
||||
- **`w3-left` / `w3-right`** — CSS float shortcuts (not the same as `w3-display-left`/`right`, which are absolute-position within a display-container). [S1]
|
||||
- **`w3-show` / `w3-hide`** — force `display:block`/`display:none`, often used to toggle visibility via JS. [S1]
|
||||
- **`w3-mobile`** — makes an element `display:block; width:100%` specifically on screens under 600px wide. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
- Text over an image using all 9 positions: `<div class="w3-display-container"><img src="img_lights.jpg" style="width:100%"><div class="w3-padding w3-display-topleft">Top Left</div>...</div>`. [S1]
|
||||
- Hover-reveal overlay: `<div class="w3-display-container w3-hover-opacity"><img src="img_avatar.png"><div class="w3-display-middle w3-display-hover"><button class="w3-button w3-black">John Doe</button></div></div>`. [S1]
|
||||
- Flag simulation via 4 positioned colored blocks: `<div class="w3-display-container w3-card-4" style="height:200px;width:350px"><div class="w3-red w3-display-topleft" style="width:25%;height:40%"></div><div class="w3-red w3-display-topright" style="width:60%;height:40%"></div>...</div>`. [S1]
|
||||
- Floating (distinct mechanism from display-position): `<div class="w3-bar w3-light-grey"><div class="w3-left w3-red">w3-left</div><div class="w3-right w3-blue">w3-right</div></div>` — note: `w3-container` auto-clears floats. [S1]
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
- **position 클래스는 반드시 컨테이너 필요**: w3-display-* 클래스는 w3-display-container 부모 없이는 동작하지 않는다는 점이 구조적 전제로 강조됨. [S1]
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
현재 발견된 실제 적용 사례가 없습니다 — 이미지 위에 9방향 텍스트 라벨을 배치하거나, 4개의 색 블록으로 국기를 시뮬레이션하는 것이 절대 위치 지정의 창의적 활용 사례다. [S1]
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Simulating a flag with four positioned colored blocks (HTML):
|
||||
```html
|
||||
<div class="w3-display-container w3-card-4" style="height:200px;width:350px">
|
||||
<div class="w3-red w3-display-topleft" style="width:25%;height:40%"></div>
|
||||
<div class="w3-red w3-display-topright" style="width:60%;height:40%"></div>
|
||||
<div class="w3-red w3-display-bottomleft" style="width:25%;height:40%"></div>
|
||||
<div class="w3-red w3-display-bottomright" style="width:60%;height:40%"></div>
|
||||
</div>
|
||||
```
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
||||
- **신뢰 점수:** 0.89
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[W3.CSS Tutorial]]
|
||||
- **관련 개념:** [[W3CSS RTL]], [[W3CSS Buttons]], [[W3CSS Effects]]
|
||||
- **참조 맥락:** Spacing & Layout 섹션의 마지막 — 버튼(Buttons) 챕터로 이어짐.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — W3.CSS Display — https://www.w3schools.com/w3css/w3css_display.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Display" page (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user