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
Utility CSS
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Daniel Fosco
May 23, 2018
Design
82
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
94
UX Design – What, Why, How
dfosco
0
210
Portfolio Talk
dfosco
0
130
UX Design – Primeiros Passos
dfosco
1
140
CSS Modular — Boas Práticas e Bizus
dfosco
1
130
Other Decks in Design
See All in Design
染み出し好きの、 染み出しコントロール論
mukai_takeru
0
470
【CEDEC2026】アートとゲームデザインをつなぐVFX設計『GRANBLUE FANTASY: Relink - Endless Ragnarok』における表現と可読性の両立
cygames
PRO
1
1.4k
工房としてのAI ── デザイナー、作家、ビルダー
hiranotomoki
0
470
全員がアウトプットを出せる時代、 誰を採用する?
nishame
0
680
なぜ、インサイトを貯めるのか?
tajima_kaho
3
2.8k
「おすすめ」はなぜ信用されないのか - 信頼を築くUI/UX設計
ryu1013
0
310
ISO 9241-171:2025っていうのがあってな
shosira
1
320
ポートフォリオ_あやの
ngyenmazt1412
0
1.8k
Basket_of_love.pdf
terencebasart
0
320
PAMPHLET.pdf
mhand01
0
2.3k
Of Ordination and Rebellion exploration sketches
rezaline
0
220
明日から真似できる、AIでデザインシステムを活用する方法
vivion
0
700
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Agile that works and the tools we love
rasmusluckow
331
22k
WENDY [Excerpt]
tessaabrams
14
39k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
500
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.9k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
700
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
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