How to import CSS font

-1

I need to use Imagine font, but I have no idea how to import it to my page. I did that, but it did not work:

<style>
font {font-family: "Imagine Font"; src: url("lib/font/imagine_font.ttf") format("truetype");}
</style>
    
asked by anonymous 07.10.2017 / 01:21

1 answer

-1

So I understand you're wanting to assign a font by loading it along with the link, try to direct it by resetting the page eg:

*{ margin:0; padding:0; font-family: "Imagine Font" Arial;}

try so more will not be 100% because who is accessing your page does not have the source on your computer it will be changed by another in some case the text is broken, so always add another one you have on every computer .

    
07.10.2017 / 02:07