example.com
??? /fonts/example");
}
h1 {
font-family: "Example Font",
??? sans-serif;
}
In the simplest usage scenario, @font-face allows you to specify a font-family
name, and the URI to a source file for the font, which can be downloaded by the
user agent if needed. You can then use the font-family name in other font-family
declarations where required.
Compatibility
SPEC
CSS2, 3
BROWSER SUPPORT
Op9.2 Saf3 FF2 IE5.5+
NONE NONE NONE PARTIAL
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
None None None None None None None Partial Partial Partial
3 http://www.w3.org/TR/css3-webfonts/
55 At-rules Reference
Internet Explorer versions 5.5 and later offer a partial implementation for the
browser??™s WEFT (Web Embedding Fonts Tool) technology,4 but this only works
with EOT (Embedded OpenType Font) files.
Some experimental support5 is provided for the @font-face at-rule in nightly builds
of WebKit.6
Other Relevant Stuff
font-family (p. 318)
sets the font family for text content
@namespace
@namespace [ prefix ] URI;
The @namespace at-rule declares an
XML namespace and, optionally, a
prefix with which we can refer to it.
Pages:
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108