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
83
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
Transcript
40 slides
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
More Decks by Daniel Fosco
See All by Daniel Fosco
Let's talk about design portfolios
dfosco
3
130
Utility CSS 2019
dfosco
0
95
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
AI-Slopなデザインを生まないためのデザインプロセス戦略
takanorip
10
6.7k
【Designship2026】「社内受託中心部署」から、事業とカルチャーを動かすデザイン組織へ
sugiyama_sukedachi
0
270
クリエイティブディレクター 両角 高寛 の自己紹介
morogyro
0
280
Edmonton River Slidedeck
edmontonriver
0
510
Prop Design Portfolio
codykrogh4rt
0
160
UNION TEC GROUP | 2026' Project Portfolio
uniontec2000
0
190
Jun Wei | Information Design & Presentation Portfolio
wjw100788
PRO
0
250
デザイン組織の広報が、AIを_社内外に広げる_ためにやってきたこと
mixi_design
PRO
0
220
エンジニアでも捗る デザイナー的思考入門(bitA Edit 新ver)
tinykitten
1
690
AIが作るデザインの レビューコストと向き合って分かったこと. -正社員デザイナー1人の組織でデザインハーネスを立ち上げた話-
hidekiietaka
1
420
Design Systems as Enabling Contexts for Designerly Application: A Case Study after Designer Withdrawal
akiramotomura
0
100
Typographie et intégration web
goetter
0
210
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
540
Mind Mapping
helmedeiros
1
440
A better future with KSS
kneath
240
18k
Are puppies a ranking factor?
jonoalderson
2
4.2k
Facilitating Awesome Meetings
lara
57
7.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
RailsConf 2023
tenderlove
30
1.6k
Speed Design
sergeychernyshev
33
2.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
600
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
570