Files
2nd/10_Wiki/Dev/Topic_W3CSS/W3CSS_Effects.md
T
Antigravity Agent 1cfd3bbb56 docs(10_Wiki): 위키 구조 정리 — 언어 튜토리얼 카테고리 폴더 제거 + 신규 자산 동기화
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고,
Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
2026-07-05 00:10:59 +09:00

70 lines
3.9 KiB
Markdown

---
id: w3css-effects
title: "W3CSS Effects"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["w3-opacity", "w3-grayscale", "w3-sepia", "hover effects", "W3.CSS 이펙트"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.86
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["w3css", "css-framework", "w3schools", "effects", "hover"]
raw_sources: ["https://www.w3schools.com/w3css/w3css_effects.asp"]
applied_in: []
github_commit: ""
---
# [[W3CSS Effects]]
## 🎯 한 줄 통찰 (One-line insight)
Effect classes and color classes are designed to STACK, not replace each other — combining `w3-hover-opacity` with any `w3-hover-<color>` class (e.g. `w3-hover-red`) produces a lighter/softer version of that hover color, meaning the effects system was built as a compositional layer on top of the existing color system rather than a standalone feature. [S1]
## 🧠 핵심 개념 (Core concepts)
- **Opacity tiers** — `w3-opacity-min` (0.75), `w3-opacity` (0.6), `w3-opacity-max` (0.25) — three fixed transparency levels, no arbitrary values. [S1]
- **Grayscale tiers** — `w3-grayscale-min` (50%), `w3-grayscale` (75%), `w3-grayscale-max` (100%) — **not supported in IE 11 and earlier**. [S1]
- **Sepia tiers** — `w3-sepia-min` (50%), `w3-sepia` (75%), `w3-sepia-max` (100%) — also **not supported in IE 11 and earlier**. [S1]
- **Hover variants** — `w3-hover-opacity`, `w3-hover-grayscale`, `w3-hover-sepia` — apply the effect only on mouse-over, not by default. [S1]
- **Stacking hover-opacity with hover-color** — combining `w3-hover-opacity` with a `w3-hover-<color>` class softens/lightens that hover color. [S1]
## 📖 세부 내용 (Details)
- Three opacity tiers on images: `<img src="image.jpg" class="w3-opacity-min"><img src="image.jpg" class="w3-opacity"><img src="image.jpg" class="w3-opacity-max">`. [S1]
- Hover-only effects: `<img src="image.jpg" class="w3-hover-opacity"><img src="image.jpg" class="w3-hover-grayscale"><img src="image.jpg" class="w3-hover-sepia">`. [S1]
- Combined hover color + opacity: `<div class="w3-border w3-hover-opacity w3-hover-red"><p>w3-hover-red with w3-hover-opacity</p></div>` — produces a lighter red on hover than `w3-hover-red` alone. [S1]
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
- **IE 11 호환성 경고**: w3-grayscale 계열과 w3-sepia 계열 클래스 모두 IE 11 이하 버전에서 지원되지 않는다고 원문에 명시됨 — 구형 브라우저 지원이 필요한 프로젝트에서는 주의 필요. [S1]
## 🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — hover-opacity와 hover-color를 조합해 부드러운 호버 색상을 만드는 조합 기법이 실전 UI 디테일 작업의 대표 활용 사례다. [S1]
## 💻 코드 패턴 (Code patterns)
Stacking hover-opacity with a hover-color class for a softened hover effect (HTML/CSS):
```html
<div class="w3-border w3-hover-opacity w3-hover-red">
<p>w3-hover-red with w3-hover-opacity</p>
</div>
```
## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.86
- **중복 검사 결과:** 신규 생성 (New discovery)
## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[W3.CSS Tutorial]]
- **관련 개념:** [[W3CSS Animate]], [[W3CSS Colors]], [[W3CSS Bars]]
- **참조 맥락:** Effects 섹션 마지막 — 네비게이션 바(Bars) 챕터로 이어짐.
## 📚 출처 (Sources)
- [S1] W3Schools — W3.CSS Effects — https://www.w3schools.com/w3css/w3css_effects.asp
## 📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Effects" page (Astra wiki-curation, P-Reinforce v3.1 format).