Created
June 4, 2014 09:03
-
-
Save voku/da0515a74b785c288fbe to your computer and use it in GitHub Desktop.
add html class for IE: Now you can write IE specific styles in a regular stylesheet, by prefacing the CSS selectors - http://css-tricks.com/how-to-create-an-ie-only-stylesheet/
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{{ language }}" itemscope itemtype="http://schema.org/WebPage"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="{{ language }}" itemscope itemtype="http://schema.org/WebPage"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="{{ language }}" itemscope itemtype="http://schema.org/WebPage"> <![endif]--> | |
<!--[if gt IE 8]><!--> | |
<html class="no-js" lang="{{ language }}" itemscope itemtype="http://schema.org/WebPage"> <!--<![endif]--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment