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
CSS Wranglin'
Search
Joe Ellis
March 01, 2013
Technology
140
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CSS Wranglin'
How to wrangle and organize CSS in a sane way for medium to large applications.
Joe Ellis
March 01, 2013
More Decks by Joe Ellis
See All by Joe Ellis
Sass vs Less vs Stylus vs Rework
notjoeellis
3
2.2k
Scalable CSS
notjoeellis
5
390
Barcamp 5 - A Website's Tale
notjoeellis
2
220
Other Decks in Technology
See All in Technology
AI時代のAPI開発を加速する品質ガードレール / API Quality Guardrails in the AI Era
yokawasa
0
180
しろおびから始める!ログ活用の第一歩
shumei_ito
0
890
夫婦で子育てするための育児標準化
codmoninc
PRO
0
160
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
0
190
SDDの運用にめげずに向き合った話
sansantech
PRO
1
140
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
670
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
10
3.3k
転んだ話が背中を預ける理由になる / A_story_about_falling_down_gives_you_a_reason_to_watch_each_other_s_backs.pdf
pauli
3
350
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
7
2.8k
自主式軟體工廠
philipz
0
250
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
1
540
ゲームのリアルタイム通信から見た QUIC と MoQ
segadevtech
0
110
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
Speed Design
sergeychernyshev
33
2.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
470
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
540
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
エンジニアに許された特別な時間の終わり
watany
109
250k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
390
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
920
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Transcript
CSS Wranglin’ Friday, March 1, 13
by Joe Ellis @notjoeellis
[email protected]
Developer at Audiosocket Friday, March
1, 13
Disclaimer Friday, March 1, 13
This is for medium to large applications Rules may not
make sense for small sites. Friday, March 1, 13
YMMV Friday, March 1, 13
Use a CSS precompiler Friday, March 1, 13
File Structure Friday, March 1, 13
Friday, March 1, 13
General Goals Friday, March 1, 13
• Predictable • Reusable • Maintainable • Scalable Good CSS
is: How to do this? Friday, March 1, 13
Avoid overly specific selectors and parent selectors Friday, March 1,
13
BAD Friday, March 1, 13
GOOD Friday, March 1, 13
Avoid #IDS Friday, March 1, 13
Avoid overly generic class names Friday, March 1, 13
BAD Friday, March 1, 13
GOOD Friday, March 1, 13
Avoid having classes do too much. Abstract where possible. Friday,
March 1, 13
BAD Friday, March 1, 13
NOT BAD Friday, March 1, 13
BEST Friday, March 1, 13
Separate CSS styles from JS hooks Friday, March 1, 13
BAD Friday, March 1, 13
GOOD Friday, March 1, 13
Got questions /tips? Friday, March 1, 13
FIN Friday, March 1, 13