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は死んだのか?
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
8845musign
July 27, 2017
Programming
2.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CSSは死んだのか?
まかないてっく#1杯目
8845musign
July 27, 2017
Transcript
29 slides
CSS IS DEAD ? Makanai Tech #1 TeamSpirit ෲےϩʔϥʔͷྗΛ৴͡Ζ
`Cascade and Inheritance CSS Cascading Style Sheet
`Cascade and Inheritance html { color: #00897B } section {
color: inherit }
`Cascade and Inheritance html { color: #00897B } section {
color: #00897B } p { color: #00897B }
Cascading
`Modular Approach (Code) BEM https://en.bem.info/
`Modular Approach (Code) CSS in JS https://www.styled-components.com/
`Modular Approach (Code) A block is a logically and functionally
independent component on a page. https://en.bem.info/methodology/faq/#can-i-use-a-css-reset
`Modular Approach (Code) No Cascading (No Element Selector)
CSS IS DIFFICULT
`VS Cascading
Design “System”
`VS Modular Approach
Independence
`Problems (Modular Approach) A A Discordance #000 #333 Color
`Problems (Modular Approach) Bigbang Class .some-module .some-module—some-modifire .hoge .any-class .module-common
.some-page-component .common-module .utility .some-common-module .some-module .some-module—some-modifire .hoge .any-class .module-common .some-page-component .common-module .utility .some-common-module .some-module .some-module—some-modifire .hoge .any-class .module-common .some-page-component .common-module .utility .some-common-module and Propperty
`Problems (Modular Approach) separation of concerns <Button /> .btn
`Problems (Modular Approach) separation of concerns <Button /> .btn <div
/> Oops…
`Why Select Modular Approach. Why?
CSS IS DIFFICULT
`Why Select Modular Approach. Frontend Engineer
`Why Select Modular Approach. Frontend Engineer CSS JS
`Why Select Modular Approach. Romeo and Juliet Frontend Engineer Designer
CSS IS DEAD?
`Architecture Architecture CSS BEM ECSS ITCSS SMACSS
`Architecture Architecture CSS BEM ECSS ITCSS SMACSS Architecture Design HTML
CSS IS DEAD?
` CSS Inheritance, The Cascade And Global Scope: Your New
Old Worst Best Friends Article https://www.smashingmagazine.com/2016/11/css-inheritance-cascade-global-scope-new- old-worst-best-friends/
Thank You!
More Decks by 8845musign
See All by 8845musign
Ubie Vitalsの取り組み紹介
8845musign
1
1.5k
業務システムの銀の弾丸? メモ機能を考察する
8845musign
2
380
業務システムに必要なアクセシビリティ
8845musign
1
1.2k
業務システム狂詩曲
8845musign
4
2.3k
READING The Atomic Workflow
8845musign
3
830
いまさら styled components 入門した
8845musign
3
980
いろはとアップデート LIGHTNING DESIGN SYSTEM
8845musign
0
1.9k
チームをかえていくこと そして、泥臭さについて
8845musign
1
2.3k
感性デザインとは?
8845musign
4
2.1k
Other Decks in Programming
See All in Programming
LLM 101
dalinaum
0
500
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
640
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
12k
Getting Started with Vibe Coding
miccheng
0
230
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.2k
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
170
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
240
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
110
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
680
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
5.9k
小さなアプリを作って公開するまで
onozaty
0
190
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
810
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Docker and Python
trallard
47
4.3k
Leo the Paperboy
mayatellez
11
2.5k
The Invisible Side of Design
smashingmag
301
52k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
370
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Making the Leap to Tech Lead
cromwellryan
135
10k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Making Projects Easy
brettharned
120
6.9k