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のクラス名は 機能じゃなくて 役割でつけたい話
Search
takanorip
December 19, 2017
Technology
380
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CSSのクラス名は 機能じゃなくて 役割でつけたい話
takanorip
December 19, 2017
More Decks by takanorip
See All by takanorip
「見せる」登壇資料デザインの極意
takanorip
4
1.2k
Design System Documentation Tooling 2025
takanorip
3
2.8k
デザインエンジニアの延長にデザインマネージャーとしての可能性を探る
takanorip
1
1.1k
Tools for Design Engineers other than LLM in the LLM era
takanorip
1
790
Bulletproof Design System with TypeScript
takanorip
7
5.2k
Eleventy3.0 で始める爆速個人ブログ開発!
takanorip
0
300
Webフォント選定の極意!フォントの基本から最新トレンドまで徹底解説
takanorip
6
1.1k
効果的な管理画面を デザインをするために 避けるべき5つの罠
takanorip
15
7.9k
社内管理画面のデザインもプロダクトデザイン
takanorip
5
2.3k
Other Decks in Technology
See All in Technology
【Claude Code】鹿野さんに聞く 私の推しの並行開発環境 大公開 / claude-code-parallel-2026-07-15
tonkotsuboy_com
12
8.6k
個人開発で育てる「大規模設計の苗床」 - AI時代の1人開発から始める業務への知識接続 / The Seedbed for Large-Scale Design - From AI-Era Solo Projects to Professional Knowledge
bitkey
PRO
1
280
「最後に責任を取るのはチーム」— 人間のPRレビューを最小化してアップデートしたメンタルモデル
jnishime_dresscode
0
900
Foxgloveについて 実際にExtensionを開発して公開するまでの話 / About Foxglove: The Story of Developing and Releasing an Extension
ry0_ka
0
300
ZOZOTOWNの進化と信頼性を両立する負荷試験
zozotech
PRO
2
190
Amazon EVS で VCF 9.0 / 9.1 のサポート開始まとめ
mtoyoda
0
310
Amplify Gen2でbackend.tsにCDKを定義する/しない事によるCDKの挙動の違いとユースケース
smt7174
1
410
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
400
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.4k
Network Firewallやっていき!
news_it_enj
0
170
タスクの複雑さでモデルを選ぶ ── Thompson Samplingで動かす“トークン/コスト最適化
satohy0323
0
560
SRE本の知られざる名シーン / The Hidden Gems of Google SRE Book
nari_ex
1
420
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
How to Ace a Technical Interview
jacobian
281
24k
GitHub's CSS Performance
jonrohan
1033
470k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
530
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
460
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
210
Music & Morning Musume
bryan
47
7.3k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
310
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
180
Transcript
$44ͷΫϥε໊ ػೳ͡Όͳͯ͘ ׂͰ͚͍ͭͨ 5BLBOPSJ0LJ ΄ΖΑ͍ͯͬ͘ʢҎԼུʣ
ࣗݾհ w େଚلʢΦΦΩλΧϊϦ!UBLBOPSJQʣ w גࣜձࣾεϚʔτυϥΠϒ w ϑϩϯτΤϯυΤϯδχΞ w 3FBDUɺ7VFɺ8PSE1SFTTɺΣϒ੍࡞શൠ w
গྛࣉݓ๏ࡾஈʢϒϥϯΫʣ
None
5-%3 w Ϋϥε໊ͱελΠϧΛҰॹʹͨ͘͠ͳ͍ w Ϋϥε໊ͳΔ͘ݻ༗ͷ໊લΛ͚͍ͭͨ w ελΠϧͷڞ௨Խ4BTTͳͲͷNJYJOͳͲΛͬ ͯߦ͏ w ͦͷཁૉ͕ϖʔδͷதͰͲΜͳׂΛ͍࣋ͬͯ
Δͷ͔ʁΛߟ໊͑ͯલ͚͍ͭͨ
Α͋͘Δ໋໊ͷํ
<section class="section"> <h1 class=“section_title">about</h1> <p class=“section_text is-white“>hogehoge</p> </section> <section class="section">
<h1 class="section_title">works</h1> <p class="section_text">hogegegege</p> </section>
͖͡Όͳ͍ͱ͜Ζ w ҧ͏ׂΛ͍࣋ͬͯΔཁૉ͕ಉ໊͡લʹ ͳͬͯ͠·͏ͷ͕ؾ࣋ͪѱ͍ w ϑΥʔϜͷϘλϯͱηΫγϣϯதͷϘλϯɺ ݟͨಉ͚ͩ͡Ͳɺׂҧ͏ΑͶʁ w Ϋϥε໊ͰελΠϧཧͯ͠ΔͱɺελΠϧΛ ͪΐͬͱม͍͑ͨͳʔͬͯͱ͖ɺ৽͘͠Ϋϥ
ε͚ͭͳ͍ͱ͍͚ͳ͍
<button class="button-blue button-small button-left button- bottom"> BUTTON </button>
վળҊ
<section class="about"> <h1 class="about_title">about</h1> <p class="works_text">hogehoge</p> </section> <section class="works"> <h1
class="works_title">works</h1> <p class="works_text">hogegegege</p> </section>
$section() { margin-bottom: 36px; } $title() { font-size: 24px; }
$text() { font-size: 14px; }
.about { $section(); } .about_title { $title(); } .about_text {
$text(); } .works { $section(); } .works_title { $title(); color: #f00; } .works_text { $text(); }
ܽ w େنϓϩδΣΫτʹ͔ͳ͍ w ෳਓͰ։ൃ͢Δ࣌ɺΫϥε໊͔ΒελΠϧ ͕૾Ͱ͖ͳ͍ͱΊΜͲͯ͘͘͞ࢮ͵ w NJYJOΛ࠷ॳʹ࡞͓͚ͬͯେৎ͔ w NJYJOͷཧ͕ΊΜͲ͍͘͞
w ෳਓͰNJYJO࡞Γ·͘Δͱࢮ͵
ྑ͍͓Λʂ