Skip to content

Instantly share code, notes, and snippets.

@chriswburke
Created June 3, 2013 14:03
Show Gist options
  • Save chriswburke/5698360 to your computer and use it in GitHub Desktop.
Save chriswburke/5698360 to your computer and use it in GitHub Desktop.
Now you can write IE specific styles in a regular stylesheet, by prefacing the CSS selectors with .ie
<!DOCTYPE html>
<!--[if IEMobile 7 ]> <html dir="ltr" lang="en-US"class="no-js iem7"> <![endif]-->
<!--[if lt IE 7 ]> <html dir="ltr" lang="en-US" class="no-js ie6 oldie"> <![endif]-->
<!--[if IE 7 ]> <html dir="ltr" lang="en-US" class="no-js ie7 oldie"> <![endif]-->
<!--[if IE 8 ]> <html dir="ltr" lang="en-US" class="no-js ie8 oldie"> <![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html dir="ltr" lang="en-US" class="no-js"><!--<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment