Created
December 29, 2016 10:47
-
-
Save erezLieberman/7526141b248f668d0cce56f90aaa30ba to your computer and use it in GitHub Desktop.
diffrents font by unicode-range
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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