Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
IE Classes
Search
Rachel Ober
October 24, 2014
Programming
79
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
IE Classes
Rachel Ober
October 24, 2014
More Decks by Rachel Ober
See All by Rachel Ober
So, You Want to Organize a Conference
rachelober
0
67
Front End Workshop 2015
rachelober
0
86
Front End Overview for Interns 2015
rachelober
1
62
Front End Overview (2014)
rachelober
0
82
Team Communication Through Code
rachelober
0
90
Responsive Emails
rachelober
0
57
What I Learned About SVG
rachelober
0
82
Paperless Post Sass
rachelober
1
110
SassConf Custom Framework/Style Guide Panel
rachelober
0
130
Other Decks in Programming
See All in Programming
ふつうのFeature Flag実践入門
irof
8
4.1k
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
150
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
270
RTSPクライアントを自作してみた話
simotin13
0
620
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
110
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
550
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
550
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
400
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
260
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
670
Lessons from Spec-Driven Development
simas
PRO
0
210
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
280
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
220
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Code Review Best Practice
trishagee
74
20k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
180
The Language of Interfaces
destraynor
162
27k
The Spectacular Lies of Maps
axbom
PRO
1
820
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
430
Practical Orchestrator
shlominoach
191
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Transcript
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; } }