Problem importing CSS fonts

0

I have a small problem importing fonts, when I put the native fonts works, except for Helvetica, and when I import a local font or url it's like I can not access the font and then the browser uses to default.

@font-face {
  font-family: 'Futura';
  src: local('../../../css/font/Futura/Futura.ttc'), url('http://www.projetogiulia.com.br/assets/css/font/Futura/Futura.ttc') !important;
}

Is there something wrong with my code?

Thank you in advance

    
asked by anonymous 08.03.2017 / 14:34

1 answer

0

Try importing and then add, like this:

@import url('http://www.projetogiulia.com.br/assets/css/font/Futura/Futura.ttc');
font-family: 'Futura', sans-serif;

Another way would be instead of using import url to use a link

<link href="http://www.projetogiulia.com.br/assets/css/font/Futura/Futura.ttc" rel="stylesheet">
    
08.03.2017 / 14:41