We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

j_junyent on 11/25/07


Tagged

fonts


Versions (?)


Who likes this?

5 people have marked this snippet as a favorite

SpinZ
vali29
basicmagic
aziz
stoker


font-face


Published in: CSS 


URL: http://www.alistapart.com/articles/cssatten

Esta propiedad del CSS, que nos permite definir, en este ejemplo, la familia de fuentes “Kimberly” para luego usarla en los elementos que queramos. Esto acabará con las diferencias de visualización de página que hasta ahora dependiamos que el usuario tuviera instaladas las fuentes en su local para poder usarlas. Ahora haremos que el usuario vea la web tal y como nosotros la vemos.

  1. @font-face {
  2. font-family: "Kimberley";
  3. src: url(http://www.princexml.com/fonts/larabie/ »
  4. kimberle.ttf) format("truetype");
  5. }
  6. h1 { font-family: "Kimberley", sans-serif }

Report this snippet 

You need to login to post a comment.