SHARE
TWEET

Untitled

a guest Dec 3rd, 2012 20 Never
  1. @font-face{font-family:myFont;src:url(css/fonts/myFont.woff);}
  2. @font-face{font-family:myBoldFont;src:url(css/fonts/myBoldFont.woff);}
  3.        
  4. <style>
  5. .bold{
  6.     font-family:"myBoldFont";
  7. }
  8. </style>
  9. <div class="bold">Hello world</div>
  10.        
  11. <style>
  12.     strong,h1,h2,h3,h4,h5,h6,h7,h8{
  13.         font-family:"myBoldFont";
  14.         font-weight:normal;
  15.     }
  16. </style>
  17.        
  18. font-family:"myBoldFont",helvetica,arial,sans-serif;
RAW Paste Data
Top