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