[04-Dec-2018 06:01:30 UTC] PHP Fatal error: Call to undefined function add_action() in /home/jameskyl/public_html/wp-content/themes/founder/inc/customizer.php on line 4 @font-face { | jameskyle.net Skip to content →

@font-face {

Most of the new features of CSS3 I thought CSS would do already. This one, however, addresses a long held problem with web site design, and I couldn’t be happier about it. It is @font-face.

This lovely piece of code allows the designer to use fonts that aren’t stored locally on the users machine. The font file itself is stored on the server, and as long as the user has a CSS3 compatible browser it should display correctly.

@font-face {
src: url('Chunkfive.ttf') format('truetype');

#blog-title {
font-family:Chunk, "Times New Roman", Times, serif;

With this I can now think about designing without having to rely on images to display non-web standard fonts.


Published in Blog


Leave a Reply

Your email address will not be published. Required fields are marked *