February 27, 2013
How can I use @font-face with Gotham-Light font?
Question by Mishkat Islam
I want to show Gotham-Light on the web with css codding but I can’t code. I have two fonts named Gotham-Light.eot, Gotham-Light.ttf. Now How can I use on the browser? Please help me.
Answer by Starx
Define your font like this:
@font-face{
font-family: gotham-light;
src: url('gotham-light.ttf') url('gotham-light.eot');
}
And use it as you would normally
#someelement {
font-family: gotham-light;
}