Home  >  Article  >  Web Front-end  >  What are the font and text properties of css3

What are the font and text properties of css3

青灯夜游
青灯夜游Original
2022-02-25 16:25:141641browse

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.

What are the font and text properties of css3

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

css3 font attributes

##AttributesDescriptionCSS##@font-facefont-size-adjustfont-stretch
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
css3 text properties


Attributehanging-punctuationpunctuation-trimtext-align-lasttext-justifytext-outlinetext-overflowtext-shadowtext-wrapword-breakword-wrap (Learning video sharing:
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
css video tutorial

, 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!

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