Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!

The font-family CSS descriptor allows authors to specify the font family for the font specified in an @font-face rule.

Related at-rule@font-face
Initial valuen/a (required)
Mediaall
Computed valueas specified
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Syntax

/* <string> values */
font-family: "font family";
font-family: 'another font family';

/* <IDENT> value */
font-family: examplefont;

Values

<family-name>
Specifies the name of the font family.

Formal syntax

<family-name>

where
<family-name> = <string> | <custom-ident>+

Examples

@font-face {
  font-family: examplefont;
  src: url('examplefont.ttf');
}

Specifications

Specification Status Comment
CSS Fonts Module Level 3
The definition of 'font-family' in that specification.
Candidate Recommendation Initial definition

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support 4 12.0 3.5 (1.9.1) 6.0 9.0 3.1
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mini Opera Mobile Safari Mobile
Basic support 2.2 1.0 (1.9.1) 10.0 No support 12.0 3.1

문서 태그 및 공헌자

 이 페이지의 공헌자: Sebastianz, Sheppy, PushpitaPikuDey, Guillaume-Heras
 최종 변경: Sebastianz,