Skip to content

Instantly share code, notes, and snippets.

@gabskoro
Created March 4, 2016 15:36

Revisions

  1. gabskoro created this gist Mar 4, 2016.
    47 changes: 47 additions & 0 deletions fonts-example.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    @font-face {
    font-family: 'Helvetica Neue';
    src: url('HelveticaNeueLTPro-Lt.eot');
    src: url('HelveticaNeueLTPro-Lt.eot?#iefix') format('embedded-opentype'),
    local('Helvetica Neue'), url('HelveticaNeueLTPro-Lt.otf') format('opentype'),
    url('HelveticaNeueLTPro-Lt.ttf') format('truetype'),
    url('HelveticaNeueLTPro-Lt.woff') format('woff'),
    url('HelveticaNeueLTPro-Lt.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    }

    @font-face {
    font-family: 'Helvetica Neue';
    src: url('HelveticaNeueLTPro-Roman.eot');
    src: url('HelveticaNeueLTPro-Roman.eot?#iefix') format('embedded-opentype'),
    local('Helvetica Neue'), url('HelveticaNeueLTPro-Roman.otf') format('opentype'),
    url('HelveticaNeueLTPro-Roman.ttf') format('truetype'),
    url('HelveticaNeueLTPro-Roman.woff') format('woff'),
    url('HelveticaNeueLTPro-Roman.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    }

    @font-face {
    font-family: 'Helvetica Neue';
    src: url('HelveticaNeueLTPro-Md.eot');
    src: url('HelveticaNeueLTPro-Md.eot?#iefix') format('embedded-opentype'),
    local('Helvetica Neue'), url('HelveticaNeueLTPro-Md.otf') format('opentype'),
    url('HelveticaNeueLTPro-Md.ttf') format('truetype'),
    url('HelveticaNeueLTPro-Md.woff') format('woff'),
    url('HelveticaNeueLTPro-Md.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    }

    @font-face {
    font-family: 'Helvetica Neue';
    src: url('HelveticaNeueLTPro-Bd.eot');
    src: url('HelveticaNeueLTPro-Bd.eot?#iefix') format('embedded-opentype'),
    local('Helvetica Neue'), url('HelveticaNeueLTPro-Bd.otf') format('opentype'),
    url('HelveticaNeueLTPro-Bd.ttf') format('truetype'),
    url('HelveticaNeueLTPro-Bd.woff') format('woff'),
    url('HelveticaNeueLTPro-Bd.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    }