Files
2nd/10_Wiki/Topic_Programming/Topic_CSS/CSS_Shadow_Text.md
T
Antigravity Agent e9cbf23ab5 docs(10_Wiki): Dev 폴더 누락분 반영 — Topic_Programming으로 통합
이전 재구성 작업에서 Dev/ 폴더가 누락되었던 것을 반영.

- Dev/Topic_Programming(중첩 폴더, 78개)은 Dev 자체 최상위 폴더들
  (Architecture/Conventions/Engineering_Intelligence 등)과 완전 중복이라 제거.
- Dev 최상위 엔지니어링 지식 폴더(Architecture/Conventions/Engineering_Intelligence/
  Failure_Library/Generalized_Principles/Language/Pattern_Catalog/Platform_Guides/
  Subsystems, 77개)는 이미 Topic_Programming/Topic_Programming에 더 최신 버전이
  존재해 중복 제거(고유 콘텐츠 1개는 예외 처리하여 이동 보존).
- Dev의 W3Schools 언어 튜토리얼 폴더(Topic_C/CPP/CSS/CSharp/HOWTO/HTML/Java/
  JavaScript/PHP/Python/SQL/W3CSS, 1201개)는 전부 Topic_Programming 하위로 이동.
- 에이전트 운영 상태(.astra/docs)는 그대로 유지, 콘텐츠 폴더만 정리.
- Topic_Programming 최종 문서 수: 2784 → 3985.
2026-07-05 00:39:13 +09:00

5.0 KiB

id, title, category, status, verification_status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, created_at, updated_at, review_reason, merge_history, tags, raw_sources, applied_in, github_commit
id title category status verification_status canonical_id aliases duplicate_of source_trust_level confidence_score created_at updated_at review_reason merge_history tags raw_sources applied_in github_commit
css-text-shadow-effects CSS Text Shadow Effects Frontend draft conceptual
text-shadow
CSS text shadow
text glow CSS
neon text CSS
text outline shadow
B 0.9 2026-06-23 2026-06-23
css
web
frontend
w3schools
text-shadow
shadows
typography
https://www.w3schools.com/css/css3_shadows.asp

CSS Text Shadow Effects

🎯 한 줄 통찰 (One-line insight)

The text-shadow property adds shadow to text using horizontal and vertical offsets (with optional blur and color), and multiple comma-separated shadows can be layered to build glow, neon, and text-outline effects. [S1]

🧠 핵심 개념 (Core concepts)

  • text-shadow adds shadow to text — the property applies a shadow to the text it styles. [S1]
  • Minimum form = two offsets — in its simplest use you specify only the horizontal and vertical shadow offsets. [S1]
  • Optional blur and color — you can add a blur radius and a color to the shadow. [S1]
  • Multiple shadows — you can layer more than one shadow by separating them with commas, enabling glow and outline effects. [S1]
  • Related to box-shadow — the page links onward to box-shadow, which applies shadow to elements (boxes) rather than text. [S1]

🧩 추출된 패턴 (Extracted patterns)

  • Offset-only patterntext-shadow: <h-offset> <v-offset>;. [S1]
  • Offset + color pattern — append a color: text-shadow: 2px 2px red;. [S1]
  • Offset + blur + color patterntext-shadow: 2px 2px 5px red;. [S1]
  • Neon glow pattern — zero offsets with blur: text-shadow: 0 0 3px #ff0000;, stackable for multi-color glow. [S1]
  • Text-border pattern — four shadows offset in each direction to outline the text. [S1]

📖 세부 내용 (Details)

Basic text-shadow (horizontal and vertical offset) [S1] The simplest use specifies the horizontal shadow (2px) and the vertical shadow (2px):

h1 {
  text-shadow: 2px 2px;
}

Add a color to the shadow [S1]

h1 {
  text-shadow: 2px 2px red;
}

Add a blur effect to the shadow [S1]

h1 {
  text-shadow: 2px 2px 5px red;
}

White text with a black shadow [S1]

h1 {
  color: white;
  text-shadow: 2px 2px 4px #000000;
}

Red neon glow effect [S1]

h1 {
  text-shadow: 0 0 3px #ff0000;
}

Red and blue neon glow effect (multiple shadows) [S1] To add more than one shadow to the text, add a comma-separated list of shadows:

h1 {
  text-shadow: 0 0 3px #ff0000, 0 0 5px #0000ff;
}

Border around text using four shadows [S1]

h1 {
  color: coral;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

Note [S1] The page introduces box-shadow as a related property covered on the next page (Box Shadow), which adds shadow to elements rather than text.

🛠️ 적용 사례 (Applied in summary)

The page's own demonstrations (h1 elements showing offset-only, colored, blurred, white-on-black, neon glow, and text-border shadows) serve as the applied examples. No external project/commit applications found in the source.

💻 코드 패턴 (Code patterns)

Simple text shadow (language: CSS):

h1 {
  text-shadow: 2px 2px 5px red;
}

Neon glow (stacked shadows):

h1 {
  text-shadow: 0 0 3px #ff0000, 0 0 5px #0000ff;
}

Text outline via four shadows:

h1 {
  color: coral;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

⚖️ 비교 및 선택 기준 (Comparison & decision criteria)

  • text-shadow vs box-shadowtext-shadow shadows the glyphs of text; box-shadow (the next page) shadows the element box. Choose by what you want shadowed. [S1]
  • Single vs multiple shadows — one shadow gives a simple drop effect; comma-separated multiple shadows enable neon glow and full text outlines. [S1]

⚖️ 모순 및 업데이트 (Contradictions & updates)

No contradictions found in the source.

검증 상태 및 신뢰도

  • 상태: draft
  • 검증 단계: conceptual (실제 적용 사례 발견 시 applied/validated로 승격 가능)
  • 출처 신뢰도: B (W3Schools — widely used educational reference, not a primary standards body)
  • 신뢰 점수: 0.90
  • 중복 검사 결과: 신규 생성 (New discovery)

🔗 지식 그래프 (Knowledge Graph)

📚 출처 (Sources)

📝 변경 이력 (Change history)

  • 2026-06-23: Initial draft synthesized from the W3Schools "CSS Text Shadow Effects" page (Astra wiki-curation, P-Reinforce v3.1 format).