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
1
370
CSSのクラス名は 機能じゃなくて 役割でつけたい話
takanorip
December 19, 2017
Tweet
Share
More Decks by takanorip
See All by takanorip
Design System Documentation Tooling 2025
takanorip
3
2.3k
デザインエンジニアの延長にデザインマネージャーとしての可能性を探る
takanorip
1
900
Tools for Design Engineers other than LLM in the LLM era
takanorip
1
650
Bulletproof Design System with TypeScript
takanorip
7
4.7k
Eleventy3.0 で始める爆速個人ブログ開発!
takanorip
0
250
Webフォント選定の極意!フォントの基本から最新トレンドまで徹底解説
takanorip
5
1k
効果的な管理画面を デザインをするために 避けるべき5つの罠
takanorip
15
7.7k
社内管理画面のデザインもプロダクトデザイン
takanorip
5
2.2k
早わかり W3C Community Group
takanorip
0
550
Other Decks in Technology
See All in Technology
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
260
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
410
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
270
猫でもわかるKiro CLI(セキュリティ編)
kentapapa
0
120
pool.ntp.orgに ⾃宅サーバーで 参加してみたら...
tanyorg
0
1.3k
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
230
ECS障害を例に学ぶ、インシデント対応に備えたAIエージェントの育て方 / How to develop AI agents for incident response with ECS outage
iselegant
4
430
Cosmos World Foundation Model Platform for Physical AI
takmin
0
980
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
190
配列に見る bash と zsh の違い
kazzpapa3
3
170
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
私たち準委任PdEは2つのプロダクトに挑戦する ~ソフトウェア、開発支援という”二重”のプロダクトエンジニアリングの実践~ / 20260212 Naoki Takahashi
shift_evolve
PRO
2
210
Featured
See All Featured
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
110
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
100
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
180
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
330
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
130
How to Ace a Technical Interview
jacobian
281
24k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
250
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Visualization
eitanlees
150
17k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
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࡞Γ·͘Δͱࢮ͵
ྑ͍͓Λʂ