Font Property in CSS
The font property can set the style, weight, variant, size, line height and font:
font-family: 'Font Name';
src: url('../fonts/fontname-webfont.eot');
src: url('../fonts/fontname-webfont.eot?iefix') format('eot'),
url('../fonts/fontname-webfont.woff') format('woff'),
url('../fonts/fontname-webfont.ttf') format('truetype'),
url('../fonts/fontname-webfont.svg#webfontjSpbZQRv') format('svg');
font-weight: normal;
font-style: normal;
font-family: 'Font Name';
src: url('../fonts/fontname-webfont.eot');
src: url('../fonts/fontname-webfont.eot?iefix') format('eot'),
url('../fonts/fontname-webfont.woff') format('woff'),
url('../fonts/fontname-webfont.ttf') format('truetype'),
url('../fonts/fontname-webfont.svg#webfontjSpbZQRv') format('svg');
font-weight: normal;
font-style: normal;
Comments
Post a Comment