Answers for "use custom font css"

CSS
6

how many fonts can i add in a css font-face

@font-face {
    font-family: CustomFont;
    src: url('CustomFont.ttf');
}

@font-face {
    font-family: CustomFont2;
    src: url('CustomFont2.ttf');
}
Posted by: Guest on March-20-2020
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
0

how to add default font css

{ background-color:#FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:12px; padding:15px;
Posted by: Guest on July-06-2021

Browse Popular Code Answers by Language