• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Font Properties > The @font-face Pseudo-Element

9.9. The @font-face Pseudo-Element

The new @font-face pseudo-element provides the mechanism by which Web authors can specify fonts that can be downloaded by the user and then displayed directly within the Web page. It can take a number of values, many of them derived from the many CSS2 font specific properties, and it works in exactly the same way.

The following is a sample Web page that will attempt to download the font “mildly-funky” and then display that font when requested in a Web page:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint