Skip to content

Instantly share code, notes, and snippets.

@aElizabethU
Created April 14, 2014 21:00
Show Gist options
  • Select an option

  • Save aElizabethU/10682380 to your computer and use it in GitHub Desktop.

Select an option

Save aElizabethU/10682380 to your computer and use it in GitHub Desktop.
zurb-foundation-application.html.haml
!!!
/ paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
/[if lt IE 7 ] <html class="ie6" lang="en">
/[if IE 7 ] <html class="ie7" lang="en">
/[if IE 8 ] <html class="ie8" lang="en">
/[if IE 9 ] <html class="ie9" lang="en">
/ [if (gt IE 9)|!(IE)]><!
%html{lang: "en"}
/ <![endif]
%head
%meta{charset: "utf-8"}/
/ Uncomment to make IE8 render like IE7
/ <meta http-equiv="X-UA-Compatible" content="IE=7" />
/ Set the viewport width to device width for mobile
%meta{content: "width=device-width, initial-scale=1.0", name: "viewport"}/
%title= content_for?(:title) ? yield(:title) : "Untitled"
= stylesheet_link_tag "application"
= javascript_include_tag "vendor/custom.modernizr"
= csrf_meta_tags
%body
= yield
= javascript_include_tag "application"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment