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
Sass: With Great Power Comes Great Responsibility
Search
Roy Tomeij
October 08, 2014
Programming
0
330
Sass: With Great Power Comes Great Responsibility
Bottom line: don't blame the tool, don't abuse the tool, and know your audience.
Roy Tomeij
October 08, 2014
Tweet
Share
More Decks by Roy Tomeij
See All by Roy Tomeij
Empathy through Acting
roy
1
98
What (Not) to Do
roy
0
80
You and the Big Stage
roy
0
45
Future of Preprocessors
roy
0
150
Make Them Click
roy
0
230
0 to 80 in 40 Minutes
roy
2
210
The Future of CSS Isn't CSS
roy
5
980
Front-End: Fun, Not Frustration
roy
1
1k
Sass in the Real World
roy
2
510
Other Decks in Programming
See All in Programming
Deep Dive into React Stream/Serialize
mugi_uno
3
550
Ruby GitHub Packages
bkuhlmann
0
640
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
210
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
120
Elm Form Validation
bkuhlmann
0
510
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
9
4.2k
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
3
180
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
120
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
1
340
Site Reliability Engineering for GMO
pyama86
8
1.1k
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
970
VS Code をプロダクトにどう取り込むか
onomax
1
640
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
133
6.3k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
7
1.3k
Rails Girls Zürich Keynote
gr2m
91
13k
KATA
mclloyd
16
12k
4 Signs Your Business is Dying
shpigford
176
21k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
A better future with KSS
kneath
231
16k
Atom: Resistance is Futile
akmur
260
25k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
Music & Morning Musume
bryan
41
5.6k
Side Projects
sachag
451
41k
Transcript
With Great Power Comes Great Responsibility
Sass-‐Man
Sass doesn't create bad code
Bad coders do
That’s on us
That’s on them
What’s on us?
Drive a screw with a hammer
Feature abuse
Not knowing our audience
Sass is slow to compile
What’s on them?
Sass isn’t a programming language
Treat CSS as a machine language
@extend makes for ugly selectors
Duplicate media queries
Mixins produce bloated code
Always use arguments or @content
Nesting screws up specificity
Nesting brings context
Architecture is outside the {} — Ben Frain (http://roy.io/xxv)
Performance is inside the {} — Ben Frain (http://roy.io/xxv)
Don’t edit the damn CSS
Roy Tomeij @roy