docs(10_Wiki): W3Schools 위키화 — HTML/CSS/JavaScript(core)
W3Schools 튜토리얼을 P-Reinforce v3.1 포맷으로 위키화(영어 본문, 한/영 섹션 헤더). - Topic_HTML: 59문서 (튜토리얼+예제, 레퍼런스/메타 제외) - Topic_CSS: 190문서 (메인 + Advanced/Flexbox/Grid/RWD 전체) - Topic_JavaScript: 120문서 (코어 언어; Temporal/DOM상세/BOM/WebAPI/AJAX/jQuery/Graphics 등은 후속) 각 폴더 00_INDEX.md(MOC) 포함. 코드 verbatim, 미확인분은 "Not found in source" 표기. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,137 @@
|
||||
---
|
||||
id: css-text-shadow
|
||||
title: "CSS Text Shadow"
|
||||
category: "Frontend"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["text-shadow", "CSS text shadow", "text shadow effect", "neon text CSS", "text glow"]
|
||||
duplicate_of: ""
|
||||
source_trust_level: "B"
|
||||
confidence_score: 0.89
|
||||
created_at: 2026-06-23
|
||||
updated_at: 2026-06-23
|
||||
review_reason: ""
|
||||
merge_history: []
|
||||
tags: ["css", "web", "frontend", "w3schools", "text-shadow", "typography"]
|
||||
raw_sources: ["https://www.w3schools.com/css/css_text_shadow.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[CSS Text Shadow]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
The `text-shadow` property adds shadow effects to text, taking horizontal and vertical offsets with optional blur radius and color, and supports comma-separated multiple shadows for neon-style glows. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **`text-shadow` property** — adds shadow effects to text. [S1]
|
||||
- **Basic syntax** — requires a horizontal offset and a vertical offset value. [S1]
|
||||
- **Optional parameters** — a color and a blur radius can be added to the shadow. [S1]
|
||||
- **Multiple shadows** — several shadows can be applied to the same text by separating them with commas. [S1]
|
||||
|
||||
## 🧩 추출된 패턴 (Extracted patterns)
|
||||
- **Offset-only shadow** — `text-shadow: 2px 2px;` sets only the horizontal and vertical offset. [S1]
|
||||
- **Colored shadow** — append a color: `text-shadow: 2px 2px red;`. [S1]
|
||||
- **Blurred shadow** — add a blur value before the color: `text-shadow: 2px 2px 5px red;`. [S1]
|
||||
- **Neon glow** — zero offset with blur produces a glow: `text-shadow: 0 0 3px #ff0000;`. [S1]
|
||||
- **Layered glow** — comma-chain several shadows to build multi-color neon effects. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
The `text-shadow` property specifies the shadow effect added to text. The basic syntax requires horizontal and vertical offset values, with optional color and blur parameters. [S1]
|
||||
|
||||
**Basic shadow** — horizontal and vertical offset only: [S1]
|
||||
```css
|
||||
h1 {
|
||||
text-shadow: 2px 2px;
|
||||
}
|
||||
```
|
||||
|
||||
**With color** — adding a color to the shadow: [S1]
|
||||
```css
|
||||
h1 {
|
||||
text-shadow: 2px 2px red;
|
||||
}
|
||||
```
|
||||
|
||||
**With blur effect** — adding a blur radius before the color: [S1]
|
||||
```css
|
||||
h1 {
|
||||
text-shadow: 2px 2px 5px red;
|
||||
}
|
||||
```
|
||||
|
||||
**White text with a dark shadow:** [S1]
|
||||
```css
|
||||
h1 {
|
||||
color: white;
|
||||
text-shadow: 2px 2px 4px #000000;
|
||||
}
|
||||
```
|
||||
|
||||
**Red neon glow** — zero offset with a small blur: [S1]
|
||||
```css
|
||||
h1 {
|
||||
text-shadow: 0 0 3px #ff0000;
|
||||
}
|
||||
```
|
||||
|
||||
**Multiple shadows (red and blue neon)** — comma-separated shadow list: [S1]
|
||||
```css
|
||||
h1 {
|
||||
text-shadow: 0 0 3px #ff0000, 0 0 5px #0000ff;
|
||||
}
|
||||
```
|
||||
|
||||
**Multiple color neon glow:** [S1]
|
||||
```css
|
||||
h1 {
|
||||
color: white;
|
||||
text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px red;
|
||||
}
|
||||
```
|
||||
|
||||
**Property reference** [S1]
|
||||
|
||||
| Property | Description |
|
||||
|----------|-------------|
|
||||
| `text-shadow` | Specifies the shadow effect added to text |
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
The page's own examples demonstrate the property applied to `h1` elements — from a plain offset shadow to layered neon glows combining multiple comma-separated shadows. No external project/commit applications found in the source.
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
General `text-shadow` form (language: CSS):
|
||||
```css
|
||||
selector {
|
||||
text-shadow: h-offset v-offset blur color;
|
||||
}
|
||||
```
|
||||
Concrete neon example:
|
||||
```css
|
||||
h1 {
|
||||
color: white;
|
||||
text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px red;
|
||||
}
|
||||
```
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
No contradictions found in the source.
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual (실제 적용 사례 발견 시 applied/validated로 승격 가능)
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
||||
- **신뢰 점수:** 0.89
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[CSS Tutorial]]
|
||||
- **관련 개념:** [[CSS Text]], [[CSS Fonts]], [[CSS Color]]
|
||||
- **참조 맥락:** Referenced when adding depth, emphasis, or neon/glow effects to headings and display text.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — CSS Text Shadow — https://www.w3schools.com/css/css_text_shadow.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-06-23: Initial draft synthesized from the W3Schools "CSS Text Shadow" page (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user