Font attributes include: "@font-face", "font-size-adjust", "font-stretch"; text attributes include: "text-align-last", "text-justify", " text-wrap”, “word-break” and so on.
The operating environment of this tutorial: Windows 7 system, CSS3 version, Dell G3 computer.
css3 font attributes
Description | CSS | |
---|---|---|
A rule that allows websites to download and use other fonts than "Web-safe" fonts | 3 | |
Specifies the aspect value for the element | 3 | |
Shrink or stretch the current font family | 3 |
Description | CSS | |
---|---|---|
Specify Whether a punctuation mark may exceed the line box | 3 | |
Specifies whether a punctuation mark should be trimmed | 3 | |
The alignment of the last line when text-align is set to justify. | 3 | |
Specifies the scatter alignment method when text-align is set to justify. | 3 | |
Set the outline of the text. | 3 | |
Specifies what should happen when text overflows the containing element | 3 | |
Add shadow to text | 3 | |
Specify Text line break rules | 3 | |
Specify line break rules for non-CJK text | 3 | |
Set the browser to wrap words that are too long. | 3 |
, web front-end entry tutorial)
The above is the detailed content of What are the font and text properties of css3. For more information, please follow other related articles on the PHP Chinese website!