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
The above is the detailed content of CSS: List of Properties for Text. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn