One interesting feature of CSS3 is the ability to include fonts on websites even if they are not present on the user's device.
To do this, you must first upload the desired font to a specific directory on your server.
Next, you need to define the font in your CSS code for use on your website, like so:
@font-face {
font-family: 'Raspoutine Medium';
src: url(http://site/fonts/Raspoutine Medium.ttf);
}
After that, you can apply the font to elements within your web pages:
body {
font-family: 'Raspoutine Medium', Arial, Helvetica, san-serif;
}
(For more information, visit http://www.w3.org/TR/css3-fonts/#the-font-face-rule)
Keep in mind that this feature is supported only in certain modern web browsers, such as the latest versions of Firefox, Chrome, Safari, Opera, and IE9. Earlier versions of IE, such as IE8 and below, do not support this functionality, so it is wise to have a backup font in place.
Additionally, there may be potential licensing issues to consider depending on the specific font being used.