Answers for "font family google css"

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

font-display css google fonts

@font-face {
  font-family: "Open Sans Regular";
  src: url("...");
  font-display: swap;
}
Posted by: Guest on January-20-2021

Browse Popular Code Answers by Language