--- id: css-text-transformation title: "CSS Text Transformation" category: "Frontend" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["text-transform", "text transformation", "uppercase lowercase capitalize", "text capitalization", "CSS capitalize"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.88 created_at: 2026-06-23 updated_at: 2026-06-23 review_reason: "" merge_history: [] tags: ["css", "web", "frontend", "w3schools", "text", "transform"] raw_sources: ["https://www.w3schools.com/css/css_text_transformation.asp"] applied_in: [] github_commit: "" --- # [[CSS Text Transformation]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) The CSS `text-transform` property controls the capitalization of text in an element β€” uppercase, lowercase, or capitalized words β€” without changing the original content in HTML. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **Purpose** β€” `text-transform` controls the capitalization of text in an element. [S1] - **Presentation only** β€” it transforms display without changing the original content in HTML. [S1] - **Four values** β€” `none` (no transformation applied), `capitalize` (first character of each word becomes uppercase), `uppercase` (all characters become uppercase), `lowercase` (all characters become lowercase). [S1] ## 🧩 μΆ”μΆœλœ νŒ¨ν„΄ (Extracted patterns) - **Class-based casing pattern** β€” define `.uppercase`, `.lowercase`, `.capitalize` classes mapped to the matching `text-transform` value. [S1] - **Non-destructive display pattern** β€” transform the visible casing while leaving the underlying HTML text untouched. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) "The CSS `text-transform` property is used to control the capitalization of text in an element." The property can transform text to uppercase or lowercase, or capitalize each word, "without changing the original content in HTML." [S1] Possible values: [S1] - `none` β€” No transformation applied - `capitalize` β€” First character of each word becomes uppercase - `uppercase` β€” All characters become uppercase - `lowercase` β€” All characters become lowercase Code example: [S1] ```css p.uppercase { text-transform: uppercase; } p.lowercase { text-transform: lowercase; } p.capitalize { text-transform: capitalize; } ``` Property reference table: [S1] | Property | Description | |----------|-------------| | text-transform | Controls the capitalization of text | ## πŸ› οΈ 적용 사둀 (Applied in summary) The page's own example is the applied case: three paragraph classes (`uppercase`, `lowercase`, `capitalize`) each mapped to a `text-transform` value. No external project/commit applications found in the source. ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) Capitalization pattern (language: CSS): ```css selector { text-transform: none | capitalize | uppercase | lowercase; } ``` Concrete example: ```css p.capitalize { text-transform: capitalize; } ``` ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) No contradictions found in the source. ## βœ… 검증 μƒνƒœ 및 신뒰도 - **μƒνƒœ:** draft - **검증 단계:** conceptual (μ‹€μ œ 적용 사둀 발견 μ‹œ applied/validated둜 승격 κ°€λŠ₯) - **좜처 신뒰도:** B (W3Schools β€” widely used educational reference, not a primary standards body) - **μ‹ λ’° 점수:** 0.88 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[CSS Tutorial]] - **κ΄€λ ¨ κ°œλ…:** [[CSS Text Decoration Styles]], [[CSS Text Spacing]], [[CSS Text Color]] - **μ°Έμ‘° λ§₯락:** Referenced when displaying text in a fixed case (uppercase/lowercase/capitalized) without altering source HTML. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” CSS Text Transformation β€” https://www.w3schools.com/css/css_text_transformation.asp ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-06-23: Initial draft synthesized from the W3Schools "CSS Text Transformation" page (Astra wiki-curation, P-Reinforce v3.1 format).