DEV Community

Cover image for CSS: List of Properties for Text
Gajendra Dhir
Gajendra Dhir

Posted on

CSS: List of Properties for Text

This is cheat-sheet list of properties that decide how text is displayed. fonts, styles, alignment, spacing etc.

Fonts

  • font-family
  • font-size
  • font-size-adust
  • font-style
  • font-variant
  • font-variant-caps
  • font-weight
  • @font-face (at-rule)

Text

  • text-align
  • text-align-last
  • text-decoration
  • text-decoration-color
  • text-decoration-line
  • text-decoration-style
  • text-decoration-thickness
  • text-emphasis
  • text-emphasis-color
  • text-emphasis-position
  • text-emphasis-style
  • text-indent
  • text-justify
  • text-orientation
  • text-overflow
  • text-shadow
  • text-transform
  • text-underline-offset
  • text-underline-position

Others

  • hanging-punctuation
  • hyphenate-limit-chars
  • hyphens
  • letter-spacing
  • line-height
  • orphans
  • overflow-wrap
  • tab-size
  • white-space
  • white-space-collapse
  • widows
  • word-break
  • word-spacing
  • word-wrap
  • writing-mode

Top comments (0)