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,73 @@
|
||||
---
|
||||
id: howto-css-full-page
|
||||
title: "How To - Full Page Image"
|
||||
category: "Web_Recipes"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["fullscreen background image CSS", "background-size cover"]
|
||||
duplicate_of: ""
|
||||
source_trust_level: "B"
|
||||
confidence_score: 0.83
|
||||
created_at: 2026-07-04
|
||||
updated_at: 2026-07-04
|
||||
review_reason: ""
|
||||
merge_history: []
|
||||
tags: ["howto", "css", "w3schools", "layout", "background-image"]
|
||||
raw_sources: ["https://www.w3schools.com/howto/howto_css_full_page.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[HOWTO CSS Full Page]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
This recipe needs the SAME `html, body { height: 100% }` foundation already established in `[[HOWTO CSS Div Full Height]]` — a full-page background image is really just "full-height div" plus three background properties (`background-position: center; background-repeat: no-repeat; background-size: cover;`) that together crop and scale the image to fill the box without distortion or tiling, and switching to a "half page" image is a ONE-LINE change (`height: 50%` instead of `100%`) since the height percentage is what defines "how much of the page" the image covers, not the background properties themselves. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **`html, body { height: 100%; }` prerequisite** — same requirement as the full-height div recipe: percentage heights need a defined ancestor chain. [S1]
|
||||
- **`background-size: cover`** — scales the image to completely cover the element's box, cropping overflow, never leaving gaps or distorting aspect ratio. [S1]
|
||||
- **`background-position: center`** — centers the visible crop of the image within the box. [S1]
|
||||
- **`background-repeat: no-repeat`** — prevents the image from tiling. [S1]
|
||||
- **Height percentage controls page coverage** — `height: 100%` = full page, `height: 50%` = half page; the background properties stay identical either way. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
- Full-page: `body, html { height: 100%; } .bg { background-image: url("img_girl.jpg"); height: 100%; background-position: center; background-repeat: no-repeat; background-size: cover; }`. [S1]
|
||||
- Half-page: same `.bg` rules, just `height: 50%;`. [S1]
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
없음 — 신규 레시피, 기존 문서와 모순되는 내용 없음.
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
전체 화면과 절반 화면 두 가지 배경 이미지 데모가 원문에서 나란히 제시됨. [S1]
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Full-screen background image, cropped and centered without distortion (CSS):
|
||||
```css
|
||||
body, html { height: 100%; }
|
||||
.bg {
|
||||
background-image: url("img_girl.jpg");
|
||||
height: 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
```
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference)
|
||||
- **신뢰 점수:** 0.83
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[W3Schools HOW TO]]
|
||||
- **관련 개념:** [[HOWTO CSS Div Full Height]], [[HOWTO CSS Hero Image]], [[HOWTO CSS Fullscreen Video]]
|
||||
- **참조 맥락:** CSS Layout & Positioning 섹션.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — How To - Full Page Image — https://www.w3schools.com/howto/howto_css_full_page.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-07-04: Initial draft synthesized from the W3Schools "How To - Full Page Image" recipe (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user