0

I'm trying to create a logo using a custom font... and want to embed it in my CSS

For example: my div element is id:"logo"

Would I just use this?

#logo {
    font-family: myNewFont;
    src: url('ufonts.com_gotham-medium.woff');
}

any help would be greatly appreciated.

Asons
  • 84,923
  • 12
  • 110
  • 165
sippi181
  • 1
  • 1
  • 5

1 Answers1

0

You do like this

@font-face {
    font-family: myNewFont;
    src: url('ufonts.com_gotham-medium.woff');
}    
#logo {
    font-family: myNewFont;
}
Asons
  • 84,923
  • 12
  • 110
  • 165