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
Utility CSS
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Daniel Fosco
May 23, 2018
Design
80
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Utility CSS
A small presentation highlighting the advantages (and pitfalls) of utility-based CSS
Daniel Fosco
May 23, 2018
More Decks by Daniel Fosco
See All by Daniel Fosco
Let's talk about design portfolios
dfosco
3
120
Utility CSS 2019
dfosco
0
93
UX Design – What, Why, How
dfosco
0
200
Portfolio Talk
dfosco
0
120
UX Design – Primeiros Passos
dfosco
1
130
CSS Modular — Boas Práticas e Bizus
dfosco
1
120
Other Decks in Design
See All in Design
【CEDEC2026】『Shadowverse: Worlds Beyond』続編開発におけるUIデザイン・アニメーション演出の「超進化」 ~継承と挑戦を両立するデザイン手法~
cygames
PRO
2
4.6k
タイル紹介サイト「タイルだもんで」
calpin
0
170
Build for the Web, Build on the Web, Build With the Web
csswizardry
0
500
Decksh keywords
ajstarks
0
110
test deck title
shotamatsuo
0
1.5k
凡庸を落とすハーネス
hiromimaeo
1
760
(2026 AmA Keynote) Sociotechnical Architecture - Having your Agile and agility too.pdf
xinyao
2
110
全員がアウトプットを出せる時代、 誰を採用する?
nishame
0
630
工房としてのAI ── デザイナー、作家、ビルダー
hiranotomoki
0
390
Edmonton River Slidedeck
edmontonriver
0
170
保育現場にAIを 〜人と技術に橋を架けるデザインで考えてきたこと〜 uiuxcamp2026-hoiku-ai-design
hiro93n
1
360
言幹と言葉(Stems & Leaves)
kakukoki
0
180
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Site-Speed That Sticks
csswizardry
13
1.4k
Designing for humans not robots
tammielis
254
26k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Facilitating Awesome Meetings
lara
57
7.1k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
250
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Fireside Chat
paigeccino
42
4k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.8k
Abbi's Birthday
coloredviolet
3
9.3k
Test your architecture with Archunit
thirion
1
2.3k
Transcript
UTILITY-BASED CSS
None
None
None
“Just use BEM”
THE PROBLEM WITH CONVENTION IS THAT IT'S USUALLY OPTIONAL
None
A BUNCH OF SMALL PROPERTIES THAT JUST DO A SINGLE
THING
None
None
None
A UTILITY CLASS FOR EVERYTHING
.padding-top-smallest .padding-top-smaller .padding-top-small .padding-top-medium .flex .flex-column .flex-row .bg-primary .bg-primary-light .bg-primary-lighter
.bg-primary-lightest
None
None
None
None
GOOD DEFAULTS SENSIBLE SCALE
None
None
None
YOU DON'T WRITE CSS YOU JUST USE CSS (MOSTLY)
THE GOOD OPTIONS ARE YOUR ONLY OPTIONS (MOSTLY)
A CONSTRAINED SET OF TOOLS INSTEAD OF CONVENTIONS (MOSTLY)
DEMO
THE CLEAR DOWNSIDE... IS THAT YOU HAVE TO GET USED
TO IT
STYLES DON'T OVERWRITE EACH OTHER NO SIDE-EFFECTS
None
YOU DON'T NEED TO KEEP TRACK OF YOUR CSS
None
PERFORMANCE
None
184
123
.db { display: block } .fl { float: left }
65% REDUCTION
BFFS WITH BUI
REFACTORING CSS HOLDS VERY LITTLE BUSINESS VALUE
1. Get feedback and align with IQ 2. Refine library
to only what we need 3. Document and make it accessible to designers 4. Merge with BUI (what makes sense)
THANKS GO/ATOMIC-CSS-LINKS