Skip to content

Instantly share code, notes, and snippets.

@brendte
Created December 21, 2011 17:33
Show Gist options
  • Save brendte/1506887 to your computer and use it in GitHub Desktop.
Save brendte/1506887 to your computer and use it in GitHub Desktop.
Paul Irish conditional-stylesheets-vs-css-hacks-answer-neither in haml
!!! 5
/ paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
/[if lt IE 7]
<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en">
/[if IE 7]
<html class="no-js lt-ie9 lt-ie8" lang="en">
/[if IE 8]
<html class="no-js lt-ie9" lang="en">
/[if gt IE 8]
<!--> <html lang="en"> <!--
%head
%meta{:charset => "utf-8"}
%body
= yield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment