Skip to content

Instantly share code, notes, and snippets.

@b4z81
Created October 14, 2013 14:02
Show Gist options
  • Save b4z81/6976161 to your computer and use it in GitHub Desktop.
Save b4z81/6976161 to your computer and use it in GitHub Desktop.
Using a conditional comment for webfont on IE
<link href="http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic" rel="stylesheet" type="text/css">
<!--[if IE]>
<link href="http://fonts.googleapis.com/css?family=Droid+Serif" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Droid+Serif:400italic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Droid+Serif:700" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Droid+Serif:700italic" rel="stylesheet" type="text/css">
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment