Text
Introduction
The text properties are used to define the font effects to text elements.
Text Properties
Property | Values | Description |
---|---|---|
Font Family | value, inherit | Set an font family. |
Font Weight | 300, 400, 500, 600, 700 | Sets how thick or thin characters in text should be displayed. |
Color | color, transparent | Set the text color. |
Text Shadow | value, none | Adds shadow to text. |
Font Size | number, inherit | Sets the size of a font. |
Line Height | number, inherit | Set the leading. |
Font Style | normal, italic | Specifies the font style for a text. |
Text Align | left, center, right, justify | Specifies the horizontal alignment of text in an element. |
Text Transform | none, capitalize, uppercase, lowercase | Controls the capitalization of text. |
Letter Spacing | number | Increases or decreases the space between characters in a text. |
Word Spacing | number | increases or decreases the white space between words. |
Text Decaration | none, overline, through, underline | Specifies the decoration added to text. |
Text Indent | number | Specifies the indentation of the first line in a text-block. |
Word Wrap | normal, break-word | Allows long words to be able to be broken and wrap onto the next line. |
Was this article helpful?
YesNo