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 Architecture
Search
Sam Yamashita
March 05, 2015
Programming
79
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CSS Architecture
Sam Yamashita
March 05, 2015
More Decks by Sam Yamashita
See All by Sam Yamashita
AI が自動テストの分野でどのように使われるのか
unbabel
0
160
Thailand
unbabel
1
91
DX に優れた多言語化ドキュメント作成方法
unbabel
0
540
3 Tips for meeting
unbabel
0
290
What is GitHub Marketplace and good for?
unbabel
0
120
OSS 翻訳と GitLocalize
unbabel
0
560
Redux in Production
unbabel
1
320
Introduction to RAIL
unbabel
0
120
Git・Githubに関する隠された便利な機能
unbabel
1
430
Other Decks in Programming
See All in Programming
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
240
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
210
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
720
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
340
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
250
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
120
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
5
3.2k
wkhtmltopdfの次どうするか問題2026
willnet
2
1.3k
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
190
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
3k
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
340
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
580
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
The Cult of Friendly URLs
andyhume
79
7k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
470
How to make the Groovebox
asonas
2
2.4k
Practical Orchestrator
shlominoach
192
12k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Transcript
CSS Architecture Sota Yamashita
㿊♴괝㣕 @sota0805 Software Engineer @SIROK, Inc. - NodeSchool Tokyo member
༧ଌ͍͢͠ ࠶ར༻͍͢͠ อक͍͢͠ ֦ு͍͢͠ http://philipwalton.com/articles/css-architecture/ CSS Architecture
HOW?
https://twitter.com/itcss_io
settings tools . generic base objects components trumps $ tree
Generic Explicit Far-reaching Localized Low-specificity High-specificity
settings tools . generic base objects components trumps $ tree
Generic Explicit Far-reaching Localized Low-specificity High-specificity มͳͲΛఆٛͨ͠ϑΝΠϧ
settings tools . generic base objects components trumps $ tree
Generic Explicit Far-reaching Localized Low-specificity High-specificity mixinfunctionͷϑΝΠϧ
settings tools . generic base objects components trumps $ tree
Generic Explicit Far-reaching Localized Low-specificity High-specificity resetsɾnomalizeϑΝΠϧ
settings tools . generic base objects components trumps $ tree
Generic Explicit Far-reaching Localized Low-specificity High-specificity elements
settings tools . generic base objects components trumps $ tree
Generic Explicit Far-reaching Localized Low-specificity High-specificity OOCSSͰ͍͏ͱ͜ΖͷɺStructure
settings tools . generic base objects components trumps $ tree
Generic Explicit Far-reaching Localized Low-specificity High-specificity OOCSSͰ͍͏ͱ͜ΖͷɺSkin
settings tools . generic base objects components trumps $ tree
Generic Explicit Far-reaching Localized Low-specificity High-specificity ্ॻ͖ϑΝΠϧ
༧ଌ͍͢͠ Predictable
#widgetView header { // } #widgetView body{ // } #widgetView
footer{ // }
࠶ར༻͍͢͠ Reusable
settings tools . trumps generic base objects $ tree Generic
Explicit Far-reaching Localized Low-specificity High-specificity OOCSSͰ͍͏ͱ͜ΖͷɺStructure components OOCSSͰ͍͏ͱ͜ΖͷɺSkin
None
อक͍͢͠ Maintainable
settings tools . trumps generic base objects $ tree Generic
Explicit Far-reaching Localized Low-specificity High-specificity OOCSSͰ͍͏ͱ͜ΖͷɺStructure components OOCSSͰ͍͏ͱ͜ΖͷɺSkin
֦ு͍͢͠ Expandable
settings tools . trumps generic base objects $ tree Generic
Explicit Far-reaching Localized Low-specificity High-specificity OOCSSͰ͍͏ͱ͜ΖͷɺStructure components OOCSSͰ͍͏ͱ͜ΖͷɺSkin มͳͲΛఆٛͨ͠ϑΝΠϧ
Great References
ʰWeb੍࡞ऀͷͨΊͷCSSઃܭͷڭՊ ॻ ϞμϯWeb։ൃʹ͔ܽͤͳ͍ʮमਖ਼ ͍͢͠CSSʯͷઃܭख๏ʱ CSSͦͷͷͱઃܭํ๏͍ͭͯཧղ͢Δ
CSS Reference Discover more about it and what features we've
added to make learning CSS more easy and practical. http://tympanus.net/codrops/css_reference/ ։ൃதͷCSSͷٙΛղܾ͢Δ
CSSΛ؆୯ʹࢼͯ͠ΈΔ JSFiddle ؆୯ʹHTMLɾCSSɾJavascript ΛͨΊ͢͜ͱ͕Ͱ͖·͢ɻ·ͨ jQueryͳͲͷϥΠϒϥϦΛ͑ͨ Γ֎෦ͷϥΠϒϥϦ͏͜ͱ ͕Ͱ͖·͢ɻ http://jsfiddle.net/
ϑϩϯτͷΑΓਂ͍ࣝΛ͚ͭΔ frontend-feeds frontend-feedsͱͱPaul IrishʹΑͬͯ࡞͞ΕͨͷͰͨ ͩfeedlyͷimport͕Ͱ͖ͨͳ ͔ͬͨͷͰͦΕΛमਖ਼ͨ͠ͷ Ͱ͢ɻ https://github.com/sotayamashita/frontend-feeds
Question?