html - Insert a custom font in CSS -
this question has answer here:
- how add non-standard font website? 20 answers
i'm new css. want use helvetica neue font in little project. have downloaded .ttf file , tried insert through @font-face rule:
@font-face{ font-family:"helvetica neue light"; src:url("contenuti/helveticaneue-light.ttf"); /*that's put it*/ }
to apply used:
.xyz{ font-family:"helvetica neue light"; /*...other things...*/ }
the problem neither safari or chrome display it
what do?
try using dash between neue , light. this: font-family:"helvetica neue-light";
Comments
Post a Comment