Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
IE Classes
Search
Rachel Ober
October 24, 2014
Programming
98
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
IE Classes
Rachel Ober
October 24, 2014
Transcript
7 slides
IE Classes
= render_nested 'layouts/shared/ie_classes_include' do [… block of your code …]
- @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 <!--[if gt IE 9] --> %html{ @html_options } = block
<!--[if lt IE 7]> <html class='lt-ie10 lt-ie9 lt-ie8 lt-ie7' lang='en'
xmlns:fb=‘[…]’></html> <![endif]—> <!--[if IE 7]> <html class='lt-ie10 lt-ie9 lt-ie8' lang='en' xmlns:fb=‘[…]’></html> <![endif]—> <!--[if IE 8]> <html class='lt-ie10 lt-ie9' lang='en' xmlns:fb=‘[…]’></html> <![endif]—> <!--[if IE 9]> <html class='lt-ie10' lang='en' xmlns:fb=‘[…]’></html> <![endif]—> <!--[if gt IE 9] -->
.segment-postbox, .segment-coins { width: 100px; } .lt-ie10 { .segment-postbox, .segment-coins
{ width: 72px; } .segment-address-book { width: 120px; } }
None
Sass 3.3 .segment-postbox, .segment-coins { width: 100px; .lt-ie10 & {
width: 72px; } }
More Decks by Rachel Ober
See All by Rachel Ober
So, You Want to Organize a Conference
rachelober
0
74
Front End Workshop 2015
rachelober
0
100
Front End Overview for Interns 2015
rachelober
1
76
Front End Overview (2014)
rachelober
0
100
Team Communication Through Code
rachelober
0
100
Responsive Emails
rachelober
0
73
What I Learned About SVG
rachelober
0
97
Paperless Post Sass
rachelober
1
120
SassConf Custom Framework/Style Guide Panel
rachelober
0
150
Other Decks in Programming
See All in Programming
オーケストレーション記述言語 Katari
yukikurage
0
270
AI-Powered Domain-Driven Design
ziobrando
0
470
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
780
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
500
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
380
小さなアプリを作って公開するまで
onozaty
0
200
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
110
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
210
はじめてのPLATEAU
nokonoko1203
1
660
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
270
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
2
200
Featured
See All Featured
Scaling GitHub
holman
464
140k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
470
Mind Mapping
helmedeiros
1
440
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
960
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
A Modern Web Designer's Workflow
chriscoyier
699
190k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
A better future with KSS
kneath
240
18k
Why Our Code Smells
bkeepers
PRO
340
58k
A Soul's Torment
seathinner
9
3.9k
Into the Great Unknown - MozCon
thekraken
41
2.8k