Why that code doesn't work? (CSS) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why that code doesn't work? (CSS)

I really appreciate if someone would tell me what's wrong. @font-face{ font-family:Bellefair; src:url("/storage/emulate/0/Download/Bellefair-Regular.ttf"); } body { background-color:#eee; font-family:Bellefair; }

15th May 2018, 6:38 PM
Filip Novotný
Filip Novotný - avatar
4 Answers
0
what is the error that is showing
15th May 2018, 6:45 PM
Rajeeb
0
None, but the text in the page isn't that font.
15th May 2018, 6:46 PM
Filip Novotný
Filip Novotný - avatar
0
your code is ok check if the font is correctly installed in your system
15th May 2018, 6:50 PM
Rajeeb
0
It's not installed, it's only downloaded. It matters?
15th May 2018, 6:51 PM
Filip Novotný
Filip Novotný - avatar