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
0
110
爆速コーディング〜Sass入門〜
今更ながらSassの良さを。
kanekenl
August 29, 2017
Tweet
Share
More Decks by kanekenl
See All by kanekenl
圭のお別れ会
kanekenl
0
22
弾幕JS.pdf
kanekenl
0
22
エンジニアからみるデザイナーの凄さ
kanekenl
0
410
jQuery_lesson01
kanekenl
0
39
Other Decks in Programming
See All in Programming
GoLab2025 Recap
kuro_kurorrr
0
3.6k
Canon EOS R50 V と R5 Mark II 購入でみえてきた最近のデジイチ VR180 事情、そして VR180 静止画に活路を見出すまで
karad
0
140
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
1
620
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.6k
Python札幌 LT資料
t3tra
7
1.1k
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.4k
愛される翻訳の秘訣
kishikawakatsumi
3
370
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
5k
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
230
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
780
Deno Tunnel を使ってみた話
kamekyame
0
320
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
180
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
210
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.5k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
280
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
94
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.8k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
1
350
The Language of Interfaces
destraynor
162
26k
Building the Perfect Custom Keyboard
takai
2
670
Building AI with AI
inesmontani
PRO
1
620
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
39
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
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のまとめ(一部)