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
CSS Wranglin'
Search
Joe Ellis
March 01, 2013
Technology
130
6
Share
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
370
Barcamp 5 - A Website's Tale
notjoeellis
2
210
Other Decks in Technology
See All in Technology
2026年度新卒技術研修 サイバーエージェントのデータベース 活用事例とパフォーマンス調査入門
cyberagentdevelopers
PRO
1
170
仕様通り動くの先へ。Claude Codeで「使える」を検証する
gotalab555
8
2.6k
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
1
210
AI前提とはどういうことか
daisuketakeda
0
110
ハーネスエンジニアリング×AI適応開発
aictokamiya
3
1.5k
すごいぞManaged Kubernetes
harukasakihara
1
330
Data Enabling Team立ち上げました
sansantech
PRO
0
280
スクラムを支える内部品質の話
iij_pr
0
280
Cortex Code君、今日から内製化支援担当ね。
coco_se
0
280
バックオフィスPJのPjMをコーポレートITが担うとうまくいく3つの理由
yueda256
1
280
OpenClawでPM業務を自動化
knishioka
2
390
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
410
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
170
From π to Pie charts
rasagy
0
160
Darren the Foodie - Storyboard
khoart
PRO
3
3.1k
Utilizing Notion as your number one productivity tool
mfonobong
4
280
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
280
The Pragmatic Product Professional
lauravandoore
37
7.2k
The SEO identity crisis: Don't let AI make you average
varn
0
430
Building AI with AI
inesmontani
PRO
1
860
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
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