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:
@@ -0,0 +1,126 @@
|
||||
---
|
||||
id: css-font-style
|
||||
title: "CSS Font Style"
|
||||
category: "Frontend"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["font-style", "CSS font style", "font-weight", "font-variant", "italic CSS", "small-caps"]
|
||||
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", "fonts", "typography"]
|
||||
raw_sources: ["https://www.w3schools.com/css/css_font_style.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[CSS Font Style]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
Three CSS properties shape the appearance of a font: `font-style` (normal / italic / oblique), `font-weight` (thickness, keyword or numeric 100–900), and `font-variant` (normal / small-caps). [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **`font-style`** — specifies text appearance with three values: normal (standard), italic (slanted), oblique (leaning, similar to italic). [S1]
|
||||
- **`font-weight`** — controls character thickness: normal, bold, bolder, lighter, or the numeric scale 100–900 where 400 equals normal and 700 equals bold. [S1]
|
||||
- **`font-variant`** — determines small-caps display: in a small-caps font, all lowercase letters are converted to uppercase letters but appear smaller than the original uppercase letters. [S1]
|
||||
|
||||
## 🧩 추출된 패턴 (Extracted patterns)
|
||||
- **Class-per-style** — define a class for each desired style (`.normal`, `.italic`, `.oblique`) and apply the matching property value. [S1]
|
||||
- **Numeric weight** — use the 100–900 numeric scale for fine-grained weight control (400 = normal, 700 = bold). [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
**CSS `font-style` property** — specifies the text appearance with three possible values: [S1]
|
||||
- **normal** — standard text display.
|
||||
- **italic** — slanted text styling.
|
||||
- **oblique** — leaning text (similar to italic).
|
||||
|
||||
```css
|
||||
p.normal {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
p.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
p.oblique {
|
||||
font-style: oblique;
|
||||
}
|
||||
```
|
||||
|
||||
**CSS `font-weight` property** — controls character thickness with these options: normal (default, standard characters), bold (thick characters), bolder (thicker characters), lighter (lighter characters), and the numeric scale 100–900 where 400 equals normal and 700 equals bold. [S1]
|
||||
```css
|
||||
p.normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
p.light {
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
p.thick {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
p.thicker {
|
||||
font-weight: 900;
|
||||
}
|
||||
```
|
||||
|
||||
**CSS `font-variant` property** — determines small-caps display. In a small-caps font, all lowercase letters are converted to uppercase letters, but they appear smaller than the original uppercase letters. [S1]
|
||||
```css
|
||||
p.normal {
|
||||
font-variant: normal;
|
||||
}
|
||||
|
||||
p.small {
|
||||
font-variant: small-caps;
|
||||
}
|
||||
```
|
||||
|
||||
Each example includes a "Try it Yourself" interactive editor link for hands-on practice. [S1]
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
The page's examples apply each property to paragraph classes — `font-style` to `.normal`/`.italic`/`.oblique`, `font-weight` to `.normal`/`.light`/`.thick`/`.thicker`, and `font-variant` to `.normal`/`.small`. No external project/commit applications found in the source.
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
Combined font styling (language: CSS):
|
||||
```css
|
||||
selector {
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
```
|
||||
Concrete numeric-weight example:
|
||||
```css
|
||||
p.thicker {
|
||||
font-weight: 900;
|
||||
}
|
||||
```
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (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 Font Family]], [[CSS Font Size]], [[CSS Text]]
|
||||
- **참조 맥락:** Referenced when emphasizing or differentiating text via slant, thickness, or small-caps.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — CSS Font Style — https://www.w3schools.com/css/css_font_style.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-06-23: Initial draft synthesized from the W3Schools "CSS Font Style" page (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user