Skip to content

Instantly share code, notes, and snippets.

@rupurt
Created April 14, 2015 15:09
Show Gist options
  • Save rupurt/f50e1d35041a1435e486 to your computer and use it in GitHub Desktop.
Save rupurt/f50e1d35041a1435e486 to your computer and use it in GitHub Desktop.
Custom font declaration
<style>
@font-face {
font-family: 'action_manbold_italic';
src: url('https://youdomain.com/some_folder/action_man_bold_italic-webfont.eot');
src: url('https://youdomain.com/some_folder/action_man_bold_italic-webfont.eot?#iefix') format('embedded-opentype'),
url('https://youdomain.com/some_folder/action_man_bold_italic-webfont.woff2') format('woff2'),
url('https://youdomain.com/some_folder/action_man_bold_italic-webfont.woff') format('woff'),
url('https://youdomain.com/some_folder/action_man_bold_italic-webfont.ttf') format('truetype'),
url('https://youdomain.com/some_folder/action_man_bold_italic-webfont.svg#action_manbold_italic') format('svg');
font-weight: normal;
font-style: normal;
}
html {
font-family: 'action_manbold_italic';
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment