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

73 lines
4.0 KiB
Markdown

---
id: w3css-animate
title: "W3CSS Animate"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["w3-animate-top", "w3-spin", "W3.CSS 애니메이션"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.87
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["w3css", "css-framework", "w3schools", "animation"]
raw_sources: ["https://www.w3schools.com/w3css/w3css_animate.asp"]
applied_in: []
github_commit: ""
---
# [[W3CSS Animate]]
## 🎯 한 줄 통찰 (One-line insight)
Every directional slide-in animation (`w3-animate-top/bottom/left/right`) shares the exact same distance parameter (-300px to 0) regardless of direction — a single consistent "travel distance" convention across four otherwise-independent classes, which means combining them on sibling elements (as in the "Fade All" example with 4 images) produces a synchronized, evenly-timed multi-directional entrance effect for free. [S1]
## 🧠 핵심 개념 (Core concepts)
- **`w3-animate-top` / `-bottom` / `-left` / `-right`** — slide an element in from that direction, travel distance always -300px to 0. [S1]
- **`w3-animate-opacity`** — fades an element's opacity from 0 to 1 over 0.8 seconds (fade-in only, one-shot). [S1]
- **`w3-animate-zoom`** — scales an element from 0% to 100% size. [S1]
- **`w3-animate-fading`** — continuously fades in AND out on a repeating ~10-second cycle (the only class here that loops infinitely; all others are one-shot). [S1]
- **`w3-spin`** — spins an element a full 360 degrees. [S1]
- All animation classes are pure CSS (no JavaScript needed) — applied simply by adding the class name. [S1]
## 📖 세부 내용 (Details)
- Slide in from top: `<div class="w3-container"><h1 class="w3-center w3-animate-top">Animation is Fun!</h1></div>`. [S1]
- Fade in: `<div class="w3-animate-opacity">..</div>`. [S1]
- Continuous fade in/out loop: `<div class="w3-animate-fading">..</div>` — distinct from `w3-animate-opacity`, which only fades in once. [S1]
- Combining four different directional animations on four images simultaneously: `<img class="w3-animate-top" src="img_01.jpg"><img class="w3-animate-zoom" src="img_02.jpg"><img class="w3-animate-left" src="img_03.jpg"><img class="w3-animate-bottom" src="img_04.jpg">`. [S1]
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
- **w3-animate-opacity vs w3-animate-fading의 차이**: 전자는 0→1로 한 번만 페이드인하고 끝나지만, 후자는 0→1→0을 약 10초 주기로 무한 반복한다는 점이 구분되어야 함. [S1]
## 🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — 서로 다른 방향의 슬라이드 애니메이션을 여러 이미지에 동시 적용해 입체적인 등장 효과를 만드는 조합이 실전 활용의 대표 사례다. [S1]
## 💻 코드 패턴 (Code patterns)
Combining different directional animations on multiple elements (HTML/CSS, no JS needed):
```html
<img class="w3-animate-top" src="img_01.jpg">
<img class="w3-animate-zoom" src="img_02.jpg">
<img class="w3-animate-left" src="img_03.jpg">
<img class="w3-animate-bottom" src="img_04.jpg">
```
## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.87
- **중복 검사 결과:** 신규 생성 (New discovery)
## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[W3.CSS Tutorial]]
- **관련 개념:** [[W3CSS Dark Mode]], [[W3CSS Effects]]
- **참조 맥락:** 슬라이드/페이드/줌 애니메이션 — 투명도·그레이스케일 등 정적 효과(Effects) 챕터로 이어짐.
## 📚 출처 (Sources)
- [S1] W3Schools — W3.CSS Animations — https://www.w3schools.com/w3css/w3css_animate.asp
## 📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Animations" page (Astra wiki-curation, P-Reinforce v3.1 format).