CSS3 text effects and css3 text effects
CSS3 contains multiple new text features.
The word-wrap attribute allows you to force text line breaks-even if the word is split, words that are too long may not exceed a certain area:
Text-shadow applies shadow to text.
Attribute |
Description |
CSS |
Hanging-punctuation |
Specifies whether the punctuation character is outside the box. |
3 |
Punctuation-trim |
Specifies whether to trim punctuation marks. |
3 |
Text-align-last |
Sets how to align the last line or the line next to the forced line break. |
3 |
Text-emphasis |
Apply the highlight and the foreground color of the highlight to the text of the element. |
3 |
Text-justify |
Specifies the Alignment Method used when text-align is set to "justify. |
3 |
Text-outline |
Specifies the outline of the text. |
3 |
Text-overflow |
Specifies what happens when a text overflow contains elements. |
3 |
Text-shadow |
Add a shadow to the text. |
3 |
Text-wrap |
Specifies the text line feed rule. |
3 |
Word-break |
Specifies the line feed rules for non-Chinese-Japanese text. |
3 |
Word-wrap |
Separate long words and wrap them to the next line. |
3 |