Answers for "declare font family css"

CSS
2

@font-face rule in css

@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
       url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
}
Posted by: Guest on July-31-2020
1

font family css

h1 {
 font-family: [font name]; 
}
/* Remember to close your brackets! {} */
Posted by: Guest on February-02-2021
0

CSS Font-Family

example {
  font-family: "font of choice", "fallback font no1", sans-serif;
Posted by: Guest on March-03-2021

Browse Popular Code Answers by Language