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
kanekenl
August 29, 2017
Programming
110
0
Share
爆速コーディング〜Sass入門〜
今更ながらSassの良さを。
kanekenl
August 29, 2017
More Decks by kanekenl
See All by kanekenl
圭のお別れ会
kanekenl
0
26
弾幕JS.pdf
kanekenl
0
24
エンジニアからみるデザイナーの凄さ
kanekenl
0
420
jQuery_lesson01
kanekenl
0
40
Other Decks in Programming
See All in Programming
バックエンドにElysiaJSを採用して気付いた、良い点・悪い点
wanko_it
1
180
inferと仲良くなる10分間
ryokatsuse
1
270
LLM Plugin for Node-REDの利用方法と開発について
404background
0
130
~ 秘伝のタレ化した『神スプシ』と戦う ~ 関数型パラダイムで壊れない仕組みへ
h0r15h0
1
140
iOS26時代の新規アプリ開発
yuukiw00w
0
210
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
270
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
200
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
14
6.5k
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
GitHub Copilot CLIのいいところ
htkym
2
1.1k
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
230
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
150
Featured
See All Featured
Technical Leadership for Architectural Decision Making
baasie
3
380
Side Projects
sachag
455
43k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
The Language of Interfaces
destraynor
162
26k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
140
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
The untapped power of vector embeddings
frankvandijk
2
1.7k
The SEO Collaboration Effect
kristinabergwall1
1
460
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
120
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
120
From π to Pie charts
rasagy
0
190
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
560
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のまとめ(一部)