I'm working on a web site, and the font I want to use isn't available. I can't seem to find one that looks similar to it.
I want to use Calibri Bold. Is there a website that tells you fonts that look similar?
This is what I'm trying to replicate. I did a little research, and found this link to StackOverFlow, however I'm not sure WHERE to put part of the code..
@font-face {
font-family:'YourFontName';/*a name to be used later*/
src: url('http://domain.com/fonts/font.ttf');/*URL to font*/}.classname {
font-family:'YourFontName';}
Also, does it have to be a class or can it be used as an ID? I'm wondering where you put "@font-face " part, is it the CSS or HTML?
Question
BinaryData
I'm working on a web site, and the font I want to use isn't available. I can't seem to find one that looks similar to it.

I want to use Calibri Bold. Is there a website that tells you fonts that look similar?
This is what I'm trying to replicate. I did a little research, and found this link to StackOverFlow, however I'm not sure WHERE to put part of the code..
Also, does it have to be a class or can it be used as an ID? I'm wondering where you put "@font-face " part, is it the CSS or HTML?
Link to comment
https://www.neowin.net/forum/topic/1268702-using-custom-fonts-in-css/Share on other sites
8 answers to this question
Recommended Posts