Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the css font properties

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "what css font attributes". In daily operation, I believe many people have doubts about what css font attributes there are. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "what css font attributes"! Next, please follow the editor to study!

The css font properties are: font, "@ font-face", font-family, font-kerning, font-size, font-stretch, font-style, font-variant, font-weight, and so on.

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

Css font (Font) attribut

Abbreviated properties for fontfont-style, font-variant, font-weight, font-size/line-height, and font-family. @ font-face rules that allow websites to download and use fonts other than "web-safe" fonts. Font-family specifies the font family (font family) of the text. Font-feature-settings allows you to control advanced printing features in OpenType fonts. Font-feature-values allows creators to use common names in font-variant-alternate to implement features that are activated differently in OpenType. Font-kerning controls the use of kerning information (letter spacing). Font-language-override controls the use of language-specific glyphs in fonts. Font-size specifies the font size of the text. Font-size-adjust maintains the readability when a font fallback occurs. Font-stretch selects a normal, compressed, or extended font from the font family. Font-style specifies the font style of the text. Font-synthesis controls which missing fonts (bold or italic) can be composited by the browser. Font-variant specifies whether text should be displayed in small uppercase fonts. Font-variant-alternates controls the use of alternate glyphs associated with the alternate name defined in @ font-feature-values. Font-variant-caps controls the use of alternate glyphs for uppercase letters. Font-variant-east-asian controls the use of alternate glyphs for East Asian characters, such as Chinese and Japanese. Font-variant-ligatures controls which hyphenation and context forms are used in the text content that applies to the element. Font-variant-numeric controls the use of alternate glyphs for numeric, fractional, and ordinal marks. Font-variant-position controls the use of alternative glyphs for smaller fonts, which are positioned as superscripts or subscript relative to the font baseline. Font-weight specifies the thickness of the font. At this point, the study of "what are the css font attributes" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report