Arial, sans-serif|'Times New Roman', serif|monospace|system-ui
Specifies font family with fallback options. Use quotes for multi-word names.
16px|1rem|120%|large|clamp(1rem, 4vw, 2rem)
Sets font size. Use relative units (rem, em) for better scalability.
normal|bold|100-900|lighter|bolder
Controls font thickness. Variable fonts support any value 1-1000.
1.5|normal|20px|150%
Sets line height. Unitless values are preferred for better inheritance.
left|center|right|justify|start|end
Aligns text horizontally. start/end respect writing direction.
none|underline|line-through|overline|underline wavy red
Adds decorative lines to text. Supports color and style modifiers.
none|uppercase|lowercase|capitalize|full-width
Controls text capitalization and character width.
normal|0.5px|-1px|0.1em
Adjusts spacing between characters. Negative values tighten spacing.
normal|5px|0.2em|-2px
Controls spacing between words.
0|2em|5%|hanging
Indents first line of text blocks.
none|2px 2px 4px rgba(0,0,0,0.5)|1px 1px 0 white
Adds shadow effects to text. Supports multiple shadows.
normal|nowrap|pre|pre-wrap|pre-line
Controls whitespace handling and text wrapping.
normal|break-all|keep-all|break-word
Controls how words break when they overflow their container.
normal|break-word|anywhere
Controls whether long words can be broken to prevent overflow.
none|manual|auto
Controls automatic hyphenation of words.
clip|ellipsis|fade|"..."
Controls how overflowed text is displayed. Requires overflow: hidden.
normal|small-caps|all-small-caps|petite-caps
Controls font variant features like small caps.
horizontal-tb|vertical-rl|vertical-lr
Sets text layout direction and orientation.