src: [ url( filename ) [ format( [ "format" ]+ ) ]? | local( name ) | prince-lookup( name ) ]+
Initial value |
n/a
|
---|---|
Applies to | @font-face at-rule |
Inherited |
@font-face {
font-family: MyFontA;
src: local("Local_Font_A");
}
@font-face {
font-family: MyFontB;
src: prince-lookup("MyFontA");
}
This CSS at-rule descriptor, used with the
@font-face
at-rule,
specifies the resource containing font data. It is required for the @font-face
rule to be valid. The local()
function searches for locally installed
system fonts, while prince-lookup()
will also find fonts defined by
other @font-face
rules.