HubsInfo Network

CSS3 @font-face Rule

0 Members and 1 Guest are viewing this topic.

CSS3 @font-face Rule
« on: November 15, 2016, 12:23:28 AM »
Syntax
Code: [Select]
@font-face {
    font-properties
}
[/SIZE]
The @font-face rule is supported in Internet Explorer, Firefox, Opera, Chrome, and Safari.
Code: [Select]
@font-face {font-family: skullx;src: url(../fonts/skullx/SKULLX.ttf);}
Tip: Use lowercase letters for the font URL. Uppercase letters can give unexpected results in old browsers.