/ Published in: CSS

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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@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'); }
URL: http://67ideas.com
Comments
