0

Why need to define @font-face twice?

@font-face { font-family: Delicious; src: url('Delicious-Roman.otf'); } /*why this is needed here*/ @font-face { font-family: Delicious; font-weight: bold; src: url('Delicious-Bold.otf'); } h1{ font-family: Delicious, sans-serif; }

3rd Oct 2017, 8:01 AM
Pooja
Pooja - avatar
1 Resposta
+ 1
actually its not used two times..both are different as you can see first is 1 delicious-roman.otf 2 delicious-bold.otf (they both are different) but this code isnt ran right? i also just checked it out and its showing error
15th Oct 2017, 1:24 AM
(BøɍƝ ťọ̄ Ćọɗë)
(BøɍƝ ťọ̄ Ćọɗë) - avatar