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
78
2
Share
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
88
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
デザインするために「多様性」について考える
iflection
1
300
Signull 団体説明資料
signull
0
570
チームをデザイン対象にする / Design for your team
kaminashi
1
1.2k
Rethinking IFUs: What Board Game Rulebooks Contribute to IFU Usability
deadlinepoet
0
230
2026年の勢い / Momentum for 2026
bebe
0
420
AIエージェントが対話的なUIを返す!MCP−UIで変わるユーザ体験
daitasu
1
200
kintone Style Book
kintone
6
13k
なぜ、インサイトを貯めるのか?
tajima_kaho
1
460
UI生成の鍵は要件整理 -デザインプロセスのエッセンスを プロンプト作成に取り入れよう-
abokadotyann
3
650
AIスライド生成を進化させるMDファイル
kenichiota0711
0
860
Treasure_Hunting
solmetts
0
390
「見せる」登壇資料デザインの極意
takanorip
3
760
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
910
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
HDC tutorial
michielstock
2
630
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
530
Balancing Empowerment & Direction
lara
6
1.1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
410
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
110
Marketing to machines
jonoalderson
1
5.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
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