Files
2nd/10_Wiki/Dev/Topic_W3CSS/W3CSS_Images.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

72 lines
3.8 KiB
Markdown

---
id: w3css-images
title: "W3CSS Images"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["w3-image", "grayscale sepia", "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", "images"]
raw_sources: ["https://www.w3schools.com/w3css/w3css_images.asp"]
applied_in: []
github_commit: ""
---
# [[W3CSS Images]]
## 🎯 한 줄 통찰 (One-line insight)
`w3-image` scales DOWN but never scales UP beyond the image's original size — a deliberate one-directional responsiveness distinct from `style="width:100%"` (which scales both up and down), meaning `w3-image` is the right choice specifically when you want a photo to shrink gracefully on small screens without ever appearing artificially blown-up/pixelated on large ones. [S1]
## 🧠 핵심 개념 (Core concepts)
- **`w3-round` / `w3-circle` / `w3-border`** — reused shape/border classes apply directly to `<img>`. [S1]
- **`w3-image`** — responsive: scales DOWN to fit container, never scales UP past original size. [S1]
- **`style="width:100%"`** — scales both up AND down (fully fluid), unlike `w3-image`. [S1]
- **`w3-opacity` / `w3-opacity-min` / `w3-opacity-max`** — three opacity intensity tiers. [S1]
- **`w3-grayscale` / `w3-sepia`** (with `-min`/`-max` variants) — visual filter effects; NOT supported in IE11 and earlier. [S1]
- **`w3-hover-opacity` / `w3-hover-grayscale` / `w3-hover-sepia`** — effects applied only on hover. [S1]
- **`w3-hover-opacity-off`** — the inverse: an already-transparent image (`w3-opacity`) becomes FULLY opaque on hover, rather than the more common "transparent on hover" pattern. [S1]
- **Photo album via Responsive Grid** — `w3-third` + `w3-card` + `<img style="width:100%">` + `w3-container` caption, repeated for a gallery layout. [S1]
## 📖 세부 내용 (Details)
- Never-scale-up responsive image: `<img src="img_lights.jpg" alt="Lights" class="w3-image">`. [S1]
- Fully fluid (scales both ways): `<img src="img_lights.jpg" alt="Lights" style="width:100%">`. [S1]
- Grayscale (not IE11-safe): `<img src="image.jpg" class="w3-grayscale">`. [S1]
- Inverse hover effect: `<img src="snowtops.jpg" class="w3-opacity w3-hover-opacity-off" alt="Alps">` — starts transparent, becomes fully opaque on hover. [S1]
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
- **grayscale/sepia의 브라우저 제약**: w3-grayscale과 w3-sepia 클래스 모두 IE11 이하에서 지원되지 않는다는 점이 각각 명시적으로 경고됨. [S1]
## 🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — Responsive Grid(w3-third)로 구성한 사진 앨범이 반응형 이미지 갤러리의 대표 실전 사례다. [S1]
## 💻 코드 패턴 (Code patterns)
Image that fades in on hover, from transparent to fully opaque (HTML):
```html
<img src="snowtops.jpg" class="w3-opacity w3-hover-opacity-off" alt="Alps">
```
## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.89
- **중복 검사 결과:** 신규 생성 (New discovery)
## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[W3.CSS Tutorial]]
- **관련 개념:** [[W3CSS Lists]], [[W3CSS Input]], [[W3CSS Effects]]
- **참조 맥락:** 이미지 반응형/효과 — 입력 폼(Input) 챕터로 이어짐.
## 📚 출처 (Sources)
- [S1] W3Schools — W3.CSS Images — https://www.w3schools.com/w3css/w3css_images.asp
## 📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Images" page (Astra wiki-curation, P-Reinforce v3.1 format).