html - Insert a custom font in CSS -


this question has answer here:

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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -