Created
August 15, 2017 08:22
-
-
Save jonniek/477a544481cc07d245c2f81c2866edf1 to your computer and use it in GitHub Desktop.
Use system fonts for html text styles
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
/* Sans-serif system fonts look good and do not need to be loaded by the visitor! */ | |
body { | |
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; | |
} | |
/* | |
For serif and monospace: | |
font-family: "Apple Garamond", "Baskerville", "Times New Roman", "Droid Serif", "Times","Source Serif Pro", serif; | |
font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace; | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment