Created
October 6, 2017 02:03
-
-
Save jokosusilo/21aec30a681d7fe394bddb97b1add671 to your computer and use it in GitHub Desktop.
System Font Stacks, source : https://css-tricks.com/snippets/css/system-font-stack/
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
/* Define the "system" font family */ | |
@font-face { | |
font-family: system; | |
font-style: normal; | |
font-weight: 300; | |
src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma"); | |
} | |
/* Now, let's apply it on an element */ | |
body { | |
font-family: "system"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment