Home  >  Article  >  Web Front-end  >  What are the text attributes of css3

What are the text attributes of css3

青灯夜游
青灯夜游Original
2021-12-15 15:51:082031browse

The text attributes of css3 include: punctuation-trim, text-align-last, text-justify, text-outline, text-overflow, text-shadow, text-wrap, word-break, etc.

What are the text attributes of css3

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

css3 new text attribute

Attribute Description CSS
hanging-punctuation Specifies whether a punctuation mark may exceed the line box 3
punctuation-trim Specify whether a punctuation mark should be removed 3
text-align-last When text-align is set to justify , the alignment of the last line. 3
text-justify Specifies the scatter alignment method when text-align is set to justify. 3
text-outline Set the outline of the text. 3
text-overflow Specifies what should happen when text overflows the containing element 3
text-shadow Add shadow to text 3
text-wrap Specify Text line break rules 3
word-break Specify line break rules for non-CJK text 3
word-wrap Set the browser to wrap words that are too long. 3

(Learning video sharing: css video tutorial)

The above is the detailed content of What are the text attributes of css3. 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