The @Font-Face snippet I use


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. @font-face {
  2. font-family: 'FontNameRegular';
  3. src: url('../fonts/FontName-webfont.eot');
  4. src: local('☺'), url('../fonts/FontName-webfont.woff') format('woff'), url('../fonts/FontName-webfont.ttf') format('truetype'), url('../fonts/FontName-webfont.svg#webfont') format('svg');
  5. font-weight: normal;
  6. font-style: normal;
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.