Search
 
SCRIPT & CODE EXAMPLE
 

CSS

@font-face multiple font weights

@font-face {
  font-family: "myFont";
  src: url("myFont-reg.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "myFont";
  src: url("myFont-italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "myFont";
  src: url("myFont-bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
Comment

PREVIOUS NEXT
Code Example
Css :: add shadowto container 
Css :: css width: 50% 
Css :: css units 
Css :: all ipad Resolutio css 
Css :: center with flex 
Css :: how to make png smaller css 
Css :: underline css still there after text-decoration: none 
Css :: get into a Docker container bash 
Css :: css rotate 3d 
Css :: styles only for IE 
Css :: bootstrap file upload 
Css :: text shadow 
Css :: css image hover zoom and rotate 
Css :: css first element 
Css :: how to make fonts respnsive 
Css :: red css color codes 
Css :: red color rgb 
Css :: horizontal scroll with css grid 
Css :: relative position div is overlapping fixed or sticky header 
Css :: vuetify input change outline color 
Css :: scss !default 
Css :: terraform rds 
Css :: width defined by content css 
Css :: repeating-linear-gradient 
Css :: inner border css 
Css :: css light grey 
Css :: input text size css 
Css :: font-face html 
Css :: ellipsis css 
Css :: css overwriting styles 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =