Answers for "font css import"

CSS
3

how to import fonts css

@font-face {
  font-family: "minecraft";
  src: url("fonts/minecraft.ttf")
}
/*Have a Nice Day!!! :)*/
Posted by: Guest on August-04-2021
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

import font 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
2

import font in css

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
Posted by: Guest on September-25-2021
0

@font-face

@font-face {
 font-family: "The name of your font for your file";
 src: url("The link to your .ttf or .otf file");
}
Posted by: Guest on November-29-2020
-1

import font woff css

body {
  font-family: 'MyWebFont', Fallback, sans-serif;
}
Posted by: Guest on October-18-2021

Browse Popular Code Answers by Language