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
爆速コーディング〜Sass入門〜
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
kanekenl
August 29, 2017
Programming
0
110
爆速コーディング〜Sass入門〜
今更ながらSassの良さを。
kanekenl
August 29, 2017
Tweet
Share
More Decks by kanekenl
See All by kanekenl
圭のお別れ会
kanekenl
0
23
弾幕JS.pdf
kanekenl
0
22
エンジニアからみるデザイナーの凄さ
kanekenl
0
410
jQuery_lesson01
kanekenl
0
39
Other Decks in Programming
See All in Programming
CSC307 Lecture 03
javiergs
PRO
1
490
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
140
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
AI & Enginnering
codelynx
0
120
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
780
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
590
SourceGeneratorのススメ
htkym
0
200
Package Management Learnings from Homebrew
mikemcquaid
0
230
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
Designing for humans not robots
tammielis
254
26k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
57
Into the Great Unknown - MozCon
thekraken
40
2.3k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
New Earth Scene 8
popppiees
1
1.5k
Designing for Performance
lara
610
70k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
210
Six Lessons from altMBA
skipperchong
29
4.2k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Transcript
爆速コーディング 〜Sass入門〜
1. 開発のスピードが飛躍的に上がる 2. 保守性が高まる 3. バグの量が減る Sassのメリット
具体的に見ていきましょう
ネスト構造 (入れ子構造) .box 何回書かなあかんねん! .box の名前を変更したら。。。
SCSS CSS
変数 background: #f00; color: #fff; 一元管理したい (一箇所で管理)
SCSS CSS
mixin なんと関数が使える!! background color の指定を関数化してみよう。
SCSS CSS 関数名 引数
インポート ・変数やmixinは、別ファイルにして外部ファイルと して読み込むことができる。 ・「style.css」「about.css」のようにCSSファイルを 複数持つ場合に、共通で使い回すことができます
1. ネスト構造 (入れ子構造) 2. 変数 3. mixin 4. インポート Sassのまとめ(一部)