Answers for "how to install custom fonts on google docs"

CSS
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
0

fonts from google fonts do not work

<!-- This is an easy thing you need to do -->
<style>
  /* I chose Orbitron, you can change it */
  body {
  font-family: 'Orbitron', sans-serif; /* this will change the font troughout the body, if you need help changing that, email me at [email protected] */
  }
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;669&display=swap');
</style>
<div class="example">
Posted by: Guest on May-10-2020

Code answers related to "how to install custom fonts on google docs"

Browse Popular Code Answers by Language