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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Joe Ellis
March 01, 2013
Technology
6
130
CSS Wranglin'
How to wrangle and organize CSS in a sane way for medium to large applications.
Joe Ellis
March 01, 2013
Tweet
Share
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
200
Other Decks in Technology
See All in Technology
生成AIで速度と品質を両立する、QAエンジニア・開発者連携のAI協調型テストプロセス
shota_kusaba
0
240
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
260
(Test) ai-meetup slide creation
oikon48
3
470
AI時代のSaaSとETL
shoe116
1
200
NewSQL_ ストレージ分離と分散合意を用いたスケーラブルアーキテクチャ
hacomono
PRO
4
410
Zeal of the Convert: Taming Shai-Hulud with AI
ramimac
0
160
OSC仙台プレ勉強会 AlmaLinuxとは
koedoyoshida
0
200
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
490
形式手法特論:SMT ソルバで解く認可ポリシの静的解析 #kernelvm / Kernel VM Study Tsukuba No3
ytaka23
1
660
Claude Code 2026年 最新アップデート
oikon48
14
11k
LINEヤフーにおけるAIOpsの現在地
lycorptech_jp
PRO
3
710
猫でもわかるKiro CLI(AI 駆動開発への道編)
kentapapa
0
270
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
460
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
150
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
150
A Soul's Torment
seathinner
5
2.5k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
310
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
310
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
180
Typedesign – Prime Four
hannesfritz
42
3k
Facilitating Awesome Meetings
lara
57
6.8k
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