/* Already with http://prefixr.com/ defined pattern */
@font-face {
font-family: 'TheWebFontName';
src: url('../fonts/webfont.eot');
src: url('../fonts/webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/webfont.woff') format('woff'), url('../fonts/webfont.ttf') format('truetype'), url('../fonts/webfont.svg#TheWebFontName') format('svg');
font-weight: normal;
font-style: normal;
}
/* Another vesion I think is older */
@font-face {
font-family: 'TheWebFontName';
src: url('../fonts/webfont.eot');
src: url('../fonts/webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/webfont.woff') format('woff'),
url('../fonts/webfont.ttf') format('truetype'),
url('../fonts/webfont.svg#TheWebFontName') format('svg');
font-weight: normal;
font-style: normal;
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.