首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

字体 | CSS Fonts

CSS字体CSS的一个模块,用于定义与字体相关的属性以及字体资源的加载方式。它允许您定义字体的样式,例如其族,大小和重量,线条高度以及多个单独字符可用的字形变体。

参照系

特性

  • font
  • font-family
  • font-feature-settings
  • font-kerning
  • font-language-override
  • font-size
  • font-size-adjust
  • font-stretch
  • font-style
  • font-synthesis
  • font-variant
  • font-variant-alternates
  • font-variant-caps
  • font-variant-east-asian
  • font-variant-ligatures
  • font-variant-numeric
  • font-variant-position
  • font-weight
  • line-height

规则

@font-face

@font-feature-values

指导

没有。

规范

Specification

Status

Comment

CSS Fonts Module Level 3

Candidate Recommendation

?

CSS Level 2 (Revision 1)

Recommendation

?

CSS Level 1

Recommendation

Initial definition

浏览器兼容性

Feature

Chrome

Firefox (Gecko)

Internet Explorer

Opera

Safari (WebKit)

Basic support

1.0

1.0 (1.0)

3.0

3.5

1.0 (85)

Feature

Android

Firefox Mobile (Gecko)

IE Phone

Opera Mobile

Safari Mobile

Basic support

?

?

?

?

?

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com