F
|
CSS3 @Font-Face Rule(Fg. 1) Before CSS3, web designers had to use fonts that were already installed on the user's computer.
Internet Explorer 9+, Firefox, Chrome, Safari, and Opera support the WOFF (Web Open Font Format) font. Firefox, Chrome, Safari, and Opera also support fonts of type TTF (True Type Fonts) and OTF (OpenType Fonts). Chrome, Safari and Opera also support SVG fonts/shapes. Internet Explorer also supports EOT (Embedded OpenType) fonts.
|
Fg. 1 (CSS3 Text Effects)
@font-face
|
|
Fg. 2.1 (Using The Font You Want)
@font-face
Fg. 2.2 (Using The Font You Want)
@font-face
|
Using The Font You Want(Fg.s 2) In the new @font-face rule you must first define a name for the font (e.g. myFirstFont), and then point to the font file.
For using Bold text, you must add another @font-face rule containing descriptors for bold text: (See Fg. 2.2) The file "Sansation_Bold.woff" is another font file, that contains the bold characters for the Sansation font.
|