Last active
November 12, 2017 22:35
-
-
Save carlos-sanchez/bb7dbde07218cf7bc1dcddb43b791bb9 to your computer and use it in GitHub Desktop.
https://css-tricks.com/almanac/properties/f/font-display/
https://www.zachleat.com/web/comprehensive-webfonts/
This file contains hidden or 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: 'MyWebFont'; /* Define the custom font name */ | |
src: url('myfont.woff2') format('woff2'), | |
url('myfont.woff') format('woff'); /* Define where the font can be downlaoded */ | |
font-display: fallback; /* Define how the browser behaves during download */ | |
} | |
/* | |
Values: | |
auto | |
block | |
swap | |
fallback | |
optional | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment