can someone please help, i am trying to generate a custom font in css which i have downloaded.
i have been reading up on this code which should work but i think i may be doinig it wrong.
my font is called: ShadowsIntoLight.ttf
i'm trying to make it the font family of my div social_header.
here's my code:
@font-face {
font-family: ShadowsIntoLight;
src: url('assets/fonts/ShadowsIntoLight.ttf');
}
social_header {
font: 100% 'ShadowsIntoLight', Arial, Helvetica, sans-serif;
font-size:12px;
}
path. Is your/assetsfolder inside your '/css' directory or do you need to go up one? Use dev tools to see if your browser is reading correctly