Skip to content

Instantly share code, notes, and snippets.

@sbp
Created August 1, 2011 13:11
Show Gist options
  • Save sbp/1118094 to your computer and use it in GitHub Desktop.
Save sbp/1118094 to your computer and use it in GitHub Desktop.
CSS for Open Sans
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
src: local('Open Sans Italic'), local('Open-Sans-Italic'),
url('OpenSans-Italic.woff') format('woff'),
url('OpenSans-Italic.ttf') format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('Open-Sans-Bold'),
url('OpenSans-Bold.woff') format('woff'),
url('OpenSans-Bold.ttf') format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans Regular'), local('Open-Sans-Regular'),
url('OpenSans-Regular.woff') format('woff'),
url('OpenSans-Regular.ttf') format('truetype');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment