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
Daniel Fosco
May 23, 2018
Design
2
76
Utility CSS
A small presentation highlighting the advantages (and pitfalls) of utility-based CSS
Daniel Fosco
May 23, 2018
Tweet
Share
More Decks by Daniel Fosco
See All by Daniel Fosco
Let's talk about design portfolios
dfosco
3
110
Utility CSS 2019
dfosco
0
87
UX Design – What, Why, How
dfosco
0
190
Portfolio Talk
dfosco
0
110
UX Design – Primeiros Passos
dfosco
1
120
CSS Modular — Boas Práticas e Bizus
dfosco
1
110
Other Decks in Design
See All in Design
hicard_credential_202601
hicard
0
200
Mandalyn_DT5001_FinalAssignment.pdf
lynteo
0
180
文化のデザイン - Soft Impact of Design
atsushihomma
0
160
OJTで学んだ 「心を動かす」ファシリテーション
saki822
1
270
チームをデザイン対象にする / Design for your team
kaminashi
1
870
AI時代に必要な アイデアの形
uxman
0
130
Storyboard Exercise: Chase Sequence
lynteo
1
240
TUNAG BOOK 2024
stmn
PRO
0
1.5k
Ralph Penel Portfolio
ralphpenel
0
350
AI時代、デザイナーの価値はどこに?
tararira
0
790
2026年の勢い / Momentum for 2026
bebe
0
390
Emmy's Artwork
mcksmith
0
210
Featured
See All Featured
A Soul's Torment
seathinner
5
2.5k
Context Engineering - Making Every Token Count
addyosmani
9
760
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
470
From π to Pie charts
rasagy
0
150
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Ruling the World: When Life Gets Gamed
codingconduct
0
180
Leo the Paperboy
mayatellez
4
1.5k
Building the Perfect Custom Keyboard
takai
2
710
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
690
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
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