Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <h1 style="font-family:myfont; src:('http://mysite.com/font/myfont.tff')">test</h1>
  2.  
  3. <body>
  4. <div>
  5. <style scoped>
  6. /* your @font-face and other CSS rules go here */
  7. </style>
  8. <!-- your document body proper goes here -->
  9. </div>
  10. </body>
  11.  
  12. @font-face {
  13. font-family: 'RalewayThin';
  14. src: url('fonts/raleway_thin-webfont.eot');
  15. src: url('fonts/raleway_thin-webfont.eot?#iefix') format('embedded-opentype'),
  16. url('fonts/raleway_thin-webfont.woff') format('woff'),
  17. url('fonts/raleway_thin-webfont.ttf') format('truetype'),
  18. url('fonts/raleway_thin-webfont.svg#RalewayThin') format('svg');
  19. font-weight: normal;
  20. font-style: normal;
  21.  
  22. <h1 style="font-family:RalewayThin,Helvetica, sans-serif;">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement