Answers for "how to create a font in google fonts"

13

add google font

CSS
@import url(https://fonts.googleapis.com/css?family=Roboto);

HTML
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto"/>

body{
  font-family: "Roboto";
}
Posted by: Guest on September-30-2020
1

use google font in html

body {
    font-family: '*Insert google font';font-size: 22px;
}
Posted by: Guest on March-02-2020

Code answers related to "how to create a font in google fonts"

Browse Popular Code Answers by Language