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 knowledge points of CSS3 fonts

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly explains "what are the knowledge points of CSS3 font". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what are the knowledge points of CSS3 fonts?"

CSS3@font-face rule

With previous versions of CSS, web designers had to use fonts that were already installed on the user's computer.

With CSS3, a web designer can use any font he or she likes.

When you find the font file you want to use, simply include the font file in the website and it will be automatically downloaded to the users who need it.

The font you selected has a description of the @ font-face rule in the new CSS3 version.

Your "own" font is defined in the CSS3@font-face rules.

Browser support

InternetExplorer9+,Firefox,Chrome,Safari, and Opera support WOFF (WebOpenFontFormat) fonts.

Firefox,Chrome,Safari, and Opera support .ttf (TrueType font) and .otf (OpenType) font types).

Chrome,Safari and Opera also support SVG fonts / folding.

InternetExplorer also supports EOT (EmbeddedOpenType) fonts.

Note: the new @ font-face rule is not supported in InternetExplorer8 and earlier versions.

At this point, I believe you have a deeper understanding of "what are the knowledge points of CSS3 fonts?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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