Skip to content

Instantly share code, notes, and snippets.

@vfontjr
Created May 3, 2020 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vfontjr/26ddbe7d6fcdae3eb1e729e3d42d89f3 to your computer and use it in GitHub Desktop.
Save vfontjr/26ddbe7d6fcdae3eb1e729e3d42d89f3 to your computer and use it in GitHub Desktop.
@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