Created
May 3, 2020 18:58
-
-
Save vfontjr/26ddbe7d6fcdae3eb1e729e3d42d89f3 to your computer and use it in GitHub Desktop.
Source code for https://victorfont.com/use-google-fonts-locally/
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: 'Open Sans'; | |
font-style: normal; | |
font-weight: 300; | |
src: local('Open Sans Light'), local('OpenSans-Light'), url(fonts/opensans-light.woff2) format('woff2'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('Open Sans'), local('OpenSans'), url(fonts/opensans.woff2) format('woff2'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 600; | |
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(fonts/opensans-semibold.woff2) format('woff2'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 700; | |
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(fonts/opensans-bold.woff2) format('woff2'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment