Answers for "how to call font family in css"

CSS
14

how to link fonts css

@font-face {
  font-family: myFirstFont;
  src: url(sansation_light.woff);
}

div {
  font-family: myFirstFont;
}
/*Name the font-family and link the font file in the @font-face rule*/
Posted by: Guest on February-13-2020
2

font face

@font-face {
  font-family: myFirstFont;
  src: url(sansation_light.woff);
}
Posted by: Guest on August-26-2020
8

font-family css

font-family: "Times New Roman", Georgia, serif;
/* If the browser does not support the first font (ie: Times New Roman),
it will then try the next font (ie: Georgia). The last font should always
be a "generic-family" font (ie: serif, sans-serif, etc..).
/* If font is more then one word, it must be put into quotes. */
Posted by: Guest on April-21-2020

Browse Popular Code Answers by Language