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
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
TOPOSTOPOS
shoheyey
0
220
Edmonton River Slidedeck
edmontonriver
0
360
図面資産×AI 眠れる資産を起こす挑戦
aonomasahiro
0
250
2026-04-06 CMU School of Design "Vision-Driven Design"
ishii_mit
0
160
全員がアウトプットを出せる時代、 誰を採用する?
nishame
0
680
「惜しいデザイン」 を生み出さないための AIレビューループ
0b1tk
3
4.5k
デザイナーがいない部署にハーネスを設計する
kenichiota0711
5
4.1k
noteらしさを織り込むハーネスエンジニアリング
uto
0
1.7k
デザインワークフローの最前線。 ログラスでのAI活用の現在地
ukaoli
1
3.2k
エンジニア経験0のデザイナーが アプリを0からリリースまで 作ってみる
abokadotyann
1
160
Design_Harness_and_Loop.pdf
nagatsu
0
100
言幹と言葉(Stems & Leaves)
kakukoki
0
220
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
900
Mind Mapping
helmedeiros
1
370
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
500
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
Embracing the Ebb and Flow
colly
88
5.2k
The Invisible Side of Design
smashingmag
301
52k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
550
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