Posted By

67ideas on 06/13/10


Tagged

css textmate font snippet font-face


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

kantiano
cyril
macrane9


@font-face TextMate Snippet


 / Published in: CSS
 

URL: http://67ideas.com

I never, ever remember the @font-face declaration, so I made a snippet. This makes it easy to quickly include a webfont in your source.

  1. @font-face {
  2. font-family: '${1:FontName}';
  3. src: url('${1:FontName}.eot');
  4. src: local('${1:FontName}'),
  5. url('${1:FontName}.ttf') format('truetype'),
  6. url('${1:FontName}.svg#font') format('svg');
  7. }

Report this snippet  

You need to login to post a comment.