Slide 1

Slide 1 text

IE Classes

Slide 2

Slide 2 text

= render_nested 'layouts/shared/ie_classes_include' do [… block of your code …]

Slide 3

Slide 3 text

- @html_options = { :lang => "en", "xmlns:fb" => "http://www.facebook.com/2008/fbml", "xmlns:og" => "http://opengraphprotocol.org/schema/", :class => ("no-background" if params[:minimal_layout]) } /[if lt IE 7] %html.lt-ie10.lt-ie9.lt-ie8.lt-ie7{ @html_options } /[if IE 7] %html.lt-ie10.lt-ie9.lt-ie8{ @html_options } /[if IE 8] %html.lt-ie10.lt-ie9{ @html_options } /[if IE 9] %html.lt-ie10{ @html_options } :plain %html{ @html_options } = block

Slide 4

Slide 4 text

Slide 5

Slide 5 text

.segment-postbox, .segment-coins { width: 100px; } .lt-ie10 { .segment-postbox, .segment-coins { width: 72px; } .segment-address-book { width: 120px; } }

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Sass 3.3 .segment-postbox, .segment-coins { width: 100px; .lt-ie10 & { width: 72px; } }