Last active
December 23, 2015 13:29
-
-
Save markhealey/6642249 to your computer and use it in GitHub Desktop.
typekit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('link').first().remove(); //remove current typekit-generated CSS | |
$('head').prepend('<link rel="stylesheet" href="http://macmhealey.wins.wsod.local/markit.com/typekit.css" type="text/css" />'); | |
//FOR IE | |
document.createStyleSheet("http://macmhealey.wins.wsod.local/markit.com/typekit.css"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('link').first().remove(); //remove current typekit-generated CSS | |
var f=document.createElement("link"); | |
f.setAttribute("rel", "stylesheet"); | |
f.setAttribute("type", "text/css"); | |
f.setAttribute("href", "http://macmhealey.wins.wsod.local/markit.com/typekit.css"); | |
document.getElementsByTagName("head")[0].appendChild(f); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'akzidenz-grotesk-next'; | |
src: url('AGNext/Regular/agnextregular-webfont.eot'); | |
src: local('☺'), | |
url('AGNext/Regular/agnextregular-webfont.eot?#iefix') format('embedded-opentype'), | |
url('AGNext/Regular/agnextregular-webfont.woff') format('woff'), | |
url('AGNext/Regular/agnextregular-webfont.ttf') format('truetype'), | |
url('AGNext/Regular/agnextregular-webfont.svg#akzidenz-grotesk-next') format('svg'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment