0
I am trying to import an external source to a file CSS
So that’s my code CSS
:
body{
background-color: white
}
@font-face {
font-family: 'devgothic';
src: url('/fonts/devgothic.eot');
src: local('devgothic'), local('devgothic'), url('/fonts/devgothic.ttf') format('truetype');
}
.fonte {
font-family: 'devgothic';
color: purple;
}
Apparently, the folder structure is correct, but it just doesn’t work.
You need to see if the web server is configured to give the right mime-type for these extensions you are using from source. On my Apache servers I had to register almost all of them manually. Test with a source from another domain, to see if it changes behavior.
– Bacco