Answers for "import font family css"

CSS
25

css font face

@font-face {
  // Defining what the font will be called
  font-family: thisSpecialFont;
  // Linking to the font file
  src: url(linkToFontFile.woff);
}
body {
  font-family: thisSpecialFont;
}
Posted by: Guest on October-29-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

import font css from url

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
/*Use that for importing font via link*/
Posted by: Guest on July-08-2021

Browse Popular Code Answers by Language