@font-face rules are used to describe in detail the fonts used in the document. @font-face can also be used to define where fonts are downloaded, although this may encounter implementation-specific limitations.
<style> <!-- @font-face { font-family: "Scarborough Light"; src: url("http://www.font.site/s/scarbo-lt"); } @font-face { font-family: Santiago; src: local ("Santiago"), url("http://www.font.site/s/santiago.tt") format("truetype"); unicode-range: U+??,U+100-220; font-size: all; font-family: sans-serif; } --> </style>
The above is the detailed content of Usage of CSS @font-face rule. For more information, please follow other related articles on the PHP Chinese website!