The font-family
CSS descriptor allows authors to specify the font family for the font specified in an @font-face
rule.
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.
<family-name> where <family-name> = <string> | <custom-ident>+
Examples
@font-face {
font-family: examplefont;
src: url('examplefont.ttf');
}
Specifications
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
Schlagwörter des Dokuments und Mitwirkende
Zuletzt aktualisiert von:
Sebastianz ,
02.09.2016, 01:09:55