Files
2nd/10_Wiki/Topic_CSS/CSS_2D_Transforms_Scale.md
T
koriweb 9609c04755 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>
2026-06-23 19:21:18 +09:00

4.3 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-2d-transform-scale CSS 2D Transform Scale Frontend draft conceptual
scale()
scaleX()
scaleY()
CSS scale
2D scale transform
resize element
B 0.89 2026-06-23 2026-06-23
css
web
frontend
w3schools
transform
2d-transform
scale
https://www.w3schools.com/css/css3_2dtransforms_scale.asp

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 resizescale(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]

div {
  transform: scale(2, 3);
}

The next example decreases the <div> element to be half of its original width and height: [S1]

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]

div {
  transform: scaleX(2);
}

This example decreases the <div> element to be half of its original width: [S1]

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]

div {
  transform: scaleY(3);
}

This example decreases the <div> element to be half of its original height: [S1]

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):

div {
  transform: scale(2, 3);
}

Single-axis scale:

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)

📚 출처 (Sources)

📝 변경 이력 (Change history)

  • 2026-06-23: Initial draft synthesized from the W3Schools "CSS 2D Transform Scale" page (Astra wiki-curation, P-Reinforce v3.1 format).