Last active
August 29, 2015 13:57
-
-
Save panych/9563668 to your computer and use it in GitHub Desktop.
Separate css-files with fonts for modern browsers and for IE8-
This file contains 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
doctype html | |
html | |
head | |
meta( charset='utf-8' ) | |
meta( name='viewport' content='initial-scale=1' ) | |
<!--[if gt IE 8]><!--> | |
= stylesheet_link_tag 'fonts-woff', :media => 'screen' | |
<!--<![endif]--><!--[if lte IE 8]> | |
= stylesheet_link_tag 'fonts-eot', :media => 'screen' | |
<![endif]--> |
This file contains 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
<!--[if gt IE 8]><!--> | |
<link rel="stylesheet" href="styles/fonts.css" media="screen"> | |
<!--<![endif]--><!--[if lte IE 8]> | |
<link rel="stylesheet" href="styles/fonts-ie.css" media="screen"> | |
<![endif]--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment