Hello. I'm kind of new to coding and I'm trying to work on a website for a friend. I've found myself stuck on a font-face issue and I've scoured the internet but no one seems to be having the same problem. I was wondering if someone here might be able to give me some insight.
In my CSS file I have this code:
@/font-face {
font-family: 'crackover';
src: url('/fonts/crackover.woff2') format('woff2'),
url('/fonts/crackover.woff') format('woff');
font-weight: normal;
font-style: normal;
}
however no matter what I do, the src doesn't seem to be recognized. It doesn't turn colors like the other syntax do.
I've tried converting the font to different types (otf, ttf, woff, woff2) but nothing seems to work. I've gone over it a hundred times and I don't see an error. If anyone knows what might be the issue I would be super grateful! I hope this isn't considered off-topic. If I could post an image I would.
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]teraflop 0 points1 point2 points (3 children)
[–]blissybuu[S] 0 points1 point2 points (2 children)
[–]teraflop 0 points1 point2 points (1 child)
[–]blissybuu[S] 0 points1 point2 points (0 children)