How Do You Upload A Font To Your Webpage (is The Server Needed)?
I am trying to upload a custom font to my site, but keep failing and I am not sure if I need to add routing in my server for it to work (I am using python flask). The font is in st
Solution 1:
The @font-face should be in your static/fonts/Sofia_Handwritten.css
. After doing so, you go to your HTML and add something like this:
<link href="static/fonts/Sofia_Handwritten.css" rel="stylesheet">
and then you will be able to use your font.
Post a Comment for "How Do You Upload A Font To Your Webpage (is The Server Needed)?"