Css3 @fontface is now making it possible to achieve web designs with the typeface of your choice rather than just relying on a few web-safe fonts. Web designers have for years struggled to achieve creative designs using the limited number of web fonts that designers knew would be installed on everyone’s computer such as Arial, Times, Verdana and a select few others.

Here’s how to do it. Please note that this effect will only work on modern browsers supporting CSS3. You will need to upload the font to your server – making sure you are not violating any copyright rules!

 

This is PlaydateBold!

The above header uses the PlaydateBold font with the following CSS 3 applied to it.

  1. CSS 3 Font Embed (Example I)
  2. @font-face {
  3.   font-family: PlaydateBold;
  4.   src: url(‘PlaydateBold.ttf’);
  5. }
  6. .my_CSS3_class {
  7.   font-family: PlaydateBold;
  8.   font-size: 3.2em;
  9. }
Andrew Cox

Andrew Cox

Founder & Creative Director at ReactiveLinkedIn

Andrew began his career in web design and development in the late 1990s. His eagerness to embrace the medium saw Andrew setting up Reactive Graphics in 2004. With over 20 years plus working as a London web designer supporting a wide range of clients, Andrew’s experience in web design, web development and graphic design have helped him to build a growing business.