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
80
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
93
UX Design – What, Why, How
dfosco
0
200
Portfolio Talk
dfosco
0
120
UX Design – Primeiros Passos
dfosco
1
130
CSS Modular — Boas Práticas e Bizus
dfosco
1
120
Other Decks in Design
See All in Design
ポートフォリオ_あやの
ngyenmazt1412
0
1.5k
Build for the Web, Build on the Web, Build With the Web
csswizardry
0
520
凡庸を落とすハーネス
hiromimaeo
2
800
Claudeもくもく会、はじめませんか?
yusukeiyoda
0
190
ISO 9241-171:2025っていうのがあってな
shosira
1
260
富山デザイン勉強会_ブラッシュアップデザイン.pdf
keita_yoshikawa
0
110
AIスライド生成を進化させるMDファイル
kenichiota0711
1
1.7k
【CEDEC2026】『Shadowverse: Worlds Beyond』続編開発におけるUIデザイン・アニメーション演出の「超進化」 ~継承と挑戦を両立するデザイン手法~
cygames
PRO
3
5k
エンジニアでも捗る デザイナー的思考入門(bitA Edit 新ver)
tinykitten
1
450
Saving_the_King_-_Storyboard.pdf
terencebasart
0
300
「使いやすさ」だけでは、「勝てる」サービスにはならない。〜KPIとUXの分断を埋める、サービス戦略という「指針」〜
nbkouhou
3
610
絵や写真から学ぶ、要素がもたらす副作用
kspace
0
500
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
My Coaching Mixtape
mlcsv
0
300
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
230
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
270
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.5k
We Have a Design System, Now What?
morganepeng
55
8.3k
Google's AI Overviews - The New Search
badams
0
1.6k
Documentation Writing (for coders)
carmenintech
77
5.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.6k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
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