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