Skip to content

Instantly share code, notes, and snippets.

@lincerely
Created September 11, 2021 19:12
Show Gist options
  • Select an option

  • Save lincerely/a25d73c78d47636d3d4bcb949b014a1b to your computer and use it in GitHub Desktop.

Select an option

Save lincerely/a25d73c78d47636d3d4bcb949b014a1b to your computer and use it in GitHub Desktop.
/* css font definition for Anderson Grotesk
* from https://www.behance.net/gallery/58071711/ANDERSON-GROTESK-A-free-font-family
*/
@font-face {
font-family: 'Anderson Grotesk';
font-style: normal;
font-weight: 300;
src: url(./AndersonGrotesk-Light.otf) format('opentype');
}
@font-face {
font-family: 'Anderson Grotesk';
font-style: oblique;
font-weight: 300;
src: url(./AndersonGrotesk-LightOblique.otf) format('opentype');
}
@font-face {
font-family: 'Anderson Grotesk';
font-style: normal;
font-weight: 400;
src: url(./AndersonGrotesk.otf) format('opentype');
}
@font-face {
font-family: 'Anderson Grotesk';
font-style: oblique;
font-weight: 400;
src: url(./AndersonGrotesk-Oblique.otf) format('opentype');
}
@font-face {
font-family: 'Anderson Grotesk';
font-style: normal;
font-weight: 700;
src: url(./AndersonGrotesk-Bold.otf) format('opentype');
}
@font-face {
font-family: 'Anderson Grotesk';
font-style: oblique;
font-weight: 700;
src: url(./AndersonGrotesk-BoldOblique.otf) format('opentype');
}
@font-face {
font-family: 'Anderson Grotesk';
font-style: normal;
font-weight: 800;
src: url(./AndersonGrotesk-Ultrabold.otf) format('opentype');
}
@font-face {
font-family: 'Anderson Grotesk';
font-style: oblique;
font-weight: 800;
src: url(./AndersonGrotesk-UltraboldOblique.otf) format('opentype');
}
@font-face {
font-family: 'Anderson Grotesk';
font-style: normal;
font-weight: 900;
src: url(./AndersonGrotesk-Black.otf) format('opentype');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment