Answers for "custom font"

CSS
0

use .ttf in css

@font-face {
  font-family:"Name-Of-Font";
  src: url("yourfont.ttf") format("truetype");
}
Posted by: Guest on January-05-2021
1

google font import

<!-- To import google font add this to the head of your HTML then you can use use the imported font family in your CSS file -->

<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
Posted by: Guest on December-15-2020
0

google font library

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"
Posted by: Guest on August-29-2020

Browse Popular Code Answers by Language