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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
1k
Design System Documentation Tooling 2025
takanorip
3
2.7k
デザインエンジニアの延長にデザインマネージャーとしての可能性を探る
takanorip
1
1.1k
Tools for Design Engineers other than LLM in the LLM era
takanorip
1
770
Bulletproof Design System with TypeScript
takanorip
7
5.2k
Eleventy3.0 で始める爆速個人ブログ開発!
takanorip
0
290
Webフォント選定の極意!フォントの基本から最新トレンドまで徹底解説
takanorip
6
1.1k
効果的な管理画面を デザインをするために 避けるべき5つの罠
takanorip
15
7.9k
社内管理画面のデザインもプロダクトデザイン
takanorip
5
2.3k
Other Decks in Technology
See All in Technology
連合学習と機密コンピューティング
lycorptech_jp
PRO
0
110
非定型業務をAI slackbotで自動化する ~ 社内要望を自動壁打ちするbotを作った ~/automating-ad-hoc-work-with-ai-slackbot
shibayu36
0
620
Agent Skills設計で柔軟性と硬さのバランスが難しい話
nassy20
0
130
自宅LLMの話
jacopen
1
460
Socrates × Looker 〜セマンティックレイヤーで進化するデータ分析エージェント〜
hanon52_
3
2.2k
なぜ Platform Engineering の土台に Kubernetes を選ぶのか
r4ynode
2
590
SONiC Scale-Up Working Group から探る Scale-UpやUltraEthernet機能の実装方法
ebiken
PRO
2
130
AIのReact習熟度を測る
uhyo
2
200
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
やさしいA2A入門
minorun365
PRO
12
1.8k
Claude Code×Terraform IaC テンプレート駆動開発
itouhi
1
510
就職⽀援サービスにおけるキャリアアドバイザーのシフトスケジューリング
recruitengineers
PRO
1
140
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Code Reviewing Like a Champion
maltzj
528
40k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Utilizing Notion as your number one productivity tool
mfonobong
4
320
Visualization
eitanlees
152
17k
Navigating Team Friction
lara
192
16k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
180
KATA
mclloyd
PRO
35
15k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
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࡞Γ·͘Δͱࢮ͵
ྑ͍͓Λʂ