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:
2026-06-23 19:21:18 +09:00
parent 8957890d13
commit 9609c04755
379 changed files with 54618 additions and 6 deletions
@@ -0,0 +1,120 @@
---
id: css-2d-transform-scale
title: "CSS 2D Transform Scale"
category: "Frontend"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["scale()", "scaleX()", "scaleY()", "CSS scale", "2D scale transform", "resize element"]
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", "transform", "2d-transform", "scale"]
raw_sources: ["https://www.w3schools.com/css/css3_2dtransforms_scale.asp"]
applied_in: []
github_commit: ""
---
# [[CSS 2D Transform Scale]]
## 🎯 한 줄 통찰 (One-line insight)
The CSS `scale()` family of 2D transform functions increases or decreases the size of an element according to the parameters given for width and height, where values above 1 enlarge and values between 0 and 1 shrink. [S1]
## 🧠 핵심 개념 (Core concepts)
- **`scale()`** — increases or decreases the size of an element (according to the parameters given for the width and height). [S1]
- **`scaleX()`** — increases or decreases the width of an element. [S1]
- **`scaleY()`** — increases or decreases the height of an element. [S1]
- **Multiplier semantics** — numeric multipliers greater than 1 enlarge the element; values between 0 and 1 reduce it. [S1]
## 🧩 추출된 패턴 (Extracted patterns)
- **Proportional resize** — `scale(x, y)` takes two factors: the first scales width, the second scales height. [S1]
- **Single-axis resize** — use `scaleX(n)` to resize width only, or `scaleY(n)` to resize height only. [S1]
## 📖 세부 내용 (Details)
**The CSS `scale()` Function**
The `scale()` function increases or decreases the size of an element (according to the parameters given for the width and height). The following example increases the `<div>` element to two times of its original width, and three times of its original height: [S1]
```css
div {
transform: scale(2, 3);
}
```
The next example decreases the `<div>` element to be half of its original width and height: [S1]
```css
div {
transform: scale(0.5, 0.5);
}
```
**The CSS `scaleX()` Function**
The `scaleX()` function increases or decreases the width of an element. The following example increases the `<div>` element to two times of its original width: [S1]
```css
div {
transform: scaleX(2);
}
```
This example decreases the `<div>` element to be half of its original width: [S1]
```css
div {
transform: scaleX(0.5);
}
```
**The CSS `scaleY()` Function**
The `scaleY()` function increases or decreases the height of an element. The following example increases the `<div>` element to three times of its original height: [S1]
```css
div {
transform: scaleY(3);
}
```
This example decreases the `<div>` element to be half of its original height: [S1]
```css
div {
transform: scaleY(0.5);
}
```
## 🛠️ 적용 사례 (Applied in summary)
The page's own demonstrations apply scaling to a `<div>`: enlarging (`scale(2, 3)`, `scaleX(2)`, `scaleY(3)`) and shrinking (`scale(0.5, 0.5)`, `scaleX(0.5)`, `scaleY(0.5)`). No external project/commit applications found in the source.
## 💻 코드 패턴 (Code patterns)
Two-axis scale (language: CSS):
```css
div {
transform: scale(2, 3);
}
```
Single-axis scale:
```css
div {
transform: scaleX(2);
}
div {
transform: scaleY(3);
}
```
## ⚖️ 모순 및 업데이트 (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 2D Transforms Skew]], [[CSS 3D Transforms]], [[CSS Transitions]]
- **참조 맥락:** Part of the CSS 2D transforms family; used to resize elements without changing their layout box flow.
## 📚 출처 (Sources)
- [S1] W3Schools — CSS 2D Transform Scale — https://www.w3schools.com/css/css3_2dtransforms_scale.asp
## 📝 변경 이력 (Change history)
- 2026-06-23: Initial draft synthesized from the W3Schools "CSS 2D Transform Scale" page (Astra wiki-curation, P-Reinforce v3.1 format).