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
360
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
110
What (Not) to Do
roy
0
84
You and the Big Stage
roy
0
52
Future of Preprocessors
roy
0
150
Make Them Click
roy
0
260
0 to 80 in 40 Minutes
roy
2
230
The Future of CSS Isn't CSS
roy
5
1.1k
Front-End: Fun, Not Frustration
roy
1
1k
Sass in the Real World
roy
2
510
Other Decks in Programming
See All in Programming
From Translations to Multi Dimension Entities
alexanderschranz
2
130
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
240
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
370
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.6k
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
CSC509 Lecture 14
javiergs
PRO
0
140
Recoilを剥がしている話
kirik
5
6.6k
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
Full stack testing :: basic to basic
up1
1
930
命名をリントする
chiroruxx
1
390
Featured
See All Featured
Making Projects Easy
brettharned
116
5.9k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
97
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Docker and Python
trallard
42
3.1k
Gamification - CAS2011
davidbonilla
80
5.1k
What's in a price? How to price your products and services
michaelherold
243
12k
Rails Girls Zürich Keynote
gr2m
94
13k
Building Your Own Lightsaber
phodgson
103
6.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Designing for humans not robots
tammielis
250
25k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
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