Font-Face did not work in firefox CodeIgniter

0

I have a codeigniter site and I added some fonts with font-face in css and it worked fine in firefox in developer mode and in chrome, when I hosted it firefox stopped changing the fonts on the page but in chrome it works normal, and on the edge even worse, it does not identify anything css, only the texts. I tried to put a code in the htacess to see if it would but it is not working:

<FilesMatch “.(ttf|otf|eot|woff)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>

the source I'm calling it like this:

@font-face {
font-family: "Punk";
src: url("http://www.fraturaexposta.com/assets/_css/fonte/Punk.ttf");
}

and the current result is this:

Chrome

Firefox:

Edge:

    
asked by anonymous 16.04.2018 / 02:27

0 answers