Skip to content

Instantly share code, notes, and snippets.

@erezLieberman
Created December 29, 2016 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erezLieberman/7526141b248f668d0cce56f90aaa30ba to your computer and use it in GitHub Desktop.
Save erezLieberman/7526141b248f668d0cce56f90aaa30ba to your computer and use it in GitHub Desktop.
diffrents font by unicode-range
@font-face {
font-family: 'Narkis Block M F';
src: url('fonts/NarkisBlock-Medium.otf');
font-weight: 500;
}
@font-face {
font-family: 'Narkis Block M F';
src: url('fonts/NarkisBlock-Regular.otf');
font-weight: 400;
}
@font-face {
font-family: 'Open Sans';
src: url('fonts/OpenSans-Regular.ttf');
unicode-range: U+0041-005A,U+0061-007A;//A-Z,a-z range
font-weight: 400;
}
@font-face {
font-family: 'Open Sans';
src: url('fonts/OpenSans-Bold.ttf');
unicode-range: U+0041-005A,U+0061-007A;//A-Z,a-z range
font-weight: 700;
}
$font__main: 'Open Sans','Narkis Block M F' !important;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment