Skip to main content

7 docs tagged with "typography"

View all tags

Text Spacing Properties

Learn how to use CSS properties like line-height, letter-spacing, and word-spacing to control the vertical and horizontal density of text for improved readability.

The font-family Property

Learn how to use the CSS font-family property to select fonts for text, create reliable font stacks, and understand the role of generic font families.

The font-style Property

Learn how to use the CSS font-style property to control the slant and style of text, primarily setting it to normal, italic, or oblique.

The font-variant Property

Learn how to use the CSS font-variant property, particularly for applying small-caps formatting, and understand its role as a shorthand for several advanced font features.

The text-align Property

Learn how to use the CSS text-align property to control the horizontal alignment of inline content (text, images, spans) within a block-level container.

The text-shadow Property

Learn how to use the CSS text-shadow property to apply a subtle or dramatic shadow effect to text, controlling its offset, blur radius, and color.

The text-transform Property

Learn how to use the CSS text-transform property to visually change the capitalization of text (uppercase, lowercase, capitalize) without altering the original HTML content.