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
The benefits of Atomic CSS - London Sass Feb 2016
Search
Richard Bray
February 16, 2016
Technology
280
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The benefits of Atomic CSS - London Sass Feb 2016
Richard Bray
February 16, 2016
Transcript
93 slides
The benefits of Atomic CSS Richard Bray @Ceiga
Product Designer
Side Projects - richbray.me
Write articles and do talks, sometimes
Atomic CSS disclaimer alert!!!
None
None
Everyone doesn’t have to adopt this method.
What is Atomic CSS (ACSS)?
What is Atomic Design?
None
“Atoms are the basic building blocks of matter. Applied to
web interfaces, atoms are our HTML tags, such as a form label, an input or a button.” Brad Frost
ACSS is a method of using one class for one
CSS property so that same property can be used in different parts of a site.
What does that look like?
None
None
My preferred way of writing ACSS
None
None
None
None
None
None
None
None
None
None
Until–I tried media queries with it
None
Desktop Mobile
None
Pseudo Classes/Elements
acss.io
None
will-change
None
None
None
Wait, what about the round brackets () or parens if
you’re American
None
mathiasbynens.be/notes/css-escapes
None
None
And that’s why I prefer - ()
2 more advantages of using acss
1. Quick prototyping
None
None
Preprocessor Normal Css Post Process Minify
Style Page Done!
1. a Great way to visualise page
None
2. Avoids overusing @extend
None
None
None
None
4 disadvantages of using acss
1. Lots of classes on a html element looks ‘ugly’
None
None
2. Slight chance of bloating your CSS If not maintained
None
None
acss.io
None
None
3. Requires more maintenance than normal css
None
None
4. It’s just like inline css
None
- Can’t do media queries or pseudo classes - Inline
css not cached - Uses more characters than acss
This isn’t a new concept
None
None
None
http://ux.mailchimp.com/patterns/helpers
http://ux.mailchimp.com/patterns/helpers
None
None
None
Open source acss projects
None
None
None
and much much more…
Everyone doesn’t have to adopt this method.
None
None
None
http://digitalcroydon.net/event/
Thank You! Richard Bray @Ceiga https://github.com/RichardBray
More Decks by Richard Bray
See All by Richard Bray
Webpack Talk
richardbray
0
67
Using single property classes in CSS - FEL Nov 2015
richardbray
2
690
Other Decks in Technology
See All in Technology
一口馬主の募集馬をAIで診断してみた
yoshimura_datam
0
130
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
290
テスト自動化の先、テスト自律化に向けて
mineo_matsuya
3
1.2k
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
9
6.1k
実測データからサービスの成長余力を測る。負荷シナリオ・テストデータ・限界値の設計
kazatohiei
1
190
20261119_AgentCore
takuyay0ne
2
350
IVRy における AI 時代のデータプロダクトと事業開発
ivry_presentationmaterials
0
140
PR 生成AIガバナンスの全体像がわかる本
yoshimura_datam
0
140
品質を積み上げられるようにする
goyoki
6
2.5k
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
150
NutanixへのSSHアクセスの今後について
shadowhat
0
190
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
180
Featured
See All Featured
Accessibility Awareness
sabderemane
1
320
Test your architecture with Archunit
thirion
2
2.5k
Agile that works and the tools we love
rasmusluckow
331
22k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
640
Everyday Curiosity
cassininazir
0
430
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
760
Building AI with AI
inesmontani
PRO
1
1.4k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
680
Chasing Engaging Ingredients in Design
codingconduct
0
410
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
2k