Return to Snippet

Revision: 27518
at June 13, 2010 05:05 by 67ideas

Initial Code
@font-face {
    font-family: '${1:FontName}';
    src: url('${1:FontName}.eot');
    src: local('${1:FontName}'), 
         url('${1:FontName}.ttf') format('truetype'),
         url('${1:FontName}.svg#font') format('svg'); 

Initial URL

Initial Description
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.

Initial Title
@font-face TextMate Snippet

Initial Tags
css, textmate

Initial Language