Sass 基礎教學 - 高雄前端社群(CSS 讀書會)


U can’t see me


Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
all.scss > all.css>
$	ruby	-v	
$	gem	install	sass	
$	sass	input.scss	output.css	#	 	
$	sass	--watch	app/sass:public/stylesheets

		#	 

all.scss > all.css>


sass/		
|		
|–	sass/		
|			|–	all.scss			#	 		
|		
|–	stylesheets/		
|			|–	all.css				#	 		
|	
|	
|–	index.html
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
all.scss > all.css>


Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
$
$ 

$card-size:	300px;	
$card-padding:	30px;	
$box-shadow-1:	0	3px	3px	rgba(black,	0.16);	
.card	{	
		width:	$card-size;	
		box-shadow:	$box-shadow-2;	
		padding:	$card-padding;	
}


$card-size:	300px;	
$card-padding:	30px;	
$box-shadow-1:	0	3px	3px	rgba(black,	0.16);	
.card	{	
		width:	$card-size;	
		box-shadow:	$box-shadow-2;	
		padding:	$card-padding;	
}
$card-size:	300px;	
$card-padding:	30px;	
$box-shadow-1:	0	3px	3px	rgba(black,	0.16);	
.card	{	
		width:	$card-size;	
		box-shadow:	$box-shadow-2;	
		padding:	$card-padding;	
}
$
{}
.btn-primary	{	
		background-color:	$primary-color;	
		border-color:	$primary-color;	
		color:	white;	
		&:hover	{	
				background-color:	darken($primary-color,	15%);	
		}	
}
&:
.btn-primary	{	
		background-color:	$primary-color;	
		border-color:	$primary-color;	
		color:	white;	
		&:hover	{	
				background-color:	darken($primary-color,	15%);	
		}	
}
{}
&:
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
@import	"button";
.btn	{	
		color:	#777;	
		display:	inline-block;	
		…	
}
@import	"button";
.btn	{	
		color:	#777;	
		display:	inline-block;	
		…	
}


@import	"button";
.btn	{	
		color:	#777;	
		display:	inline-block;	
		…	
}
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			...																		#	Etc…		
|		
|–	helpers/		
|			|–	_variables.scss			#	Sass	Variables		
|			|–	_functions.scss			#	Sass	Functions		
|			|–	_mixins.scss						#	Sass	Mixins		
|			|–	_helpers.scss					#	Class	&	placeholders	helpers		
|			...																		#	Etc…		
|		
|–	layout/		
|			|–	_grid.scss								#	Grid	system		
|			...																		#	Etc…		
|		
|–	pages/		
|			|–	_home.scss								#	Home	specific	styles		
|			...																		#	Etc…		
|		
|–	themes/		
|			|–	_theme.scss							#	Default	theme		
|			|–	_admin.scss							#	Admin	theme		
|			...																		#	Etc…		
|		
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			...																		#	Etc…
sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			...																		#	Etc…		
|		
|–	helpers/		
|			|–	_variables.scss			#	Sass	Variables		
|			|–	_functions.scss			#	Sass	Functions		
|			|–	_mixins.scss						#	Sass	Mixins		
|			|–	_helpers.scss					#	Class	&	placeholders	helpers		
|			...																		#	Etc…		
|	
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			...																		#	Etc…
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)

More Related Content

KEY
Evrone.ru / BEM for RoR
PDF
Banquet 43
PDF
Theming and Sass
PDF
SuperMondays, July 2011
PDF
Theming Ext JS 4
PDF
Rapid Prototyping
PDF
Sass - Making CSS fun again.
ZIP
WhereCamp EU talk: iPhone location 101
Evrone.ru / BEM for RoR
Banquet 43
Theming and Sass
SuperMondays, July 2011
Theming Ext JS 4
Rapid Prototyping
Sass - Making CSS fun again.
WhereCamp EU talk: iPhone location 101

What's hot (6)

PPT
Javascript
DOCX
Cara membuat tulisan mengikuti cursor
TXT
Informações
PDF
CGI.pm - 3ло?!
PPTX
SQL Injection Part 2
TXT
Bloqueador cmd-sh
Javascript
Cara membuat tulisan mengikuti cursor
Informações
CGI.pm - 3ло?!
SQL Injection Part 2
Bloqueador cmd-sh
Ad

Similar to Sass 基礎教學 - 高雄前端社群(CSS 讀書會) (20)

PDF
Fasten RWD Development with Sass
PPTX
Syntactically Awesome Stylesheet - A workshop by Citytech Software
PDF
LESS : The dynamic stylesheet language
PPTX
LESS vs. SASS
PPTX
SASS for WordPress Workshop
PPTX
Simple introduction Sass
PDF
Sass and compass workshop
DOCX
css-tools
PDF
Finding your way with Sass+Compass
PDF
Getting Started with Sass & Compass
PDF
SASS, Compass, Gulp, Greensock
PDF
CSS with superpowers - SASS!
 
PPTX
Introduction to SASS
PDF
A better CSS: Sass and Less - CC FE & UX
PPTX
Syntactically awesome stylesheets (Sass)
PDF
SASS Preprocessor
PPTX
PPT
UNIT 3.ppt
PDF
Workshop 6: Designer tools
PPTX
Sass: Introduction
Fasten RWD Development with Sass
Syntactically Awesome Stylesheet - A workshop by Citytech Software
LESS : The dynamic stylesheet language
LESS vs. SASS
SASS for WordPress Workshop
Simple introduction Sass
Sass and compass workshop
css-tools
Finding your way with Sass+Compass
Getting Started with Sass & Compass
SASS, Compass, Gulp, Greensock
CSS with superpowers - SASS!
 
Introduction to SASS
A better CSS: Sass and Less - CC FE & UX
Syntactically awesome stylesheets (Sass)
SASS Preprocessor
UNIT 3.ppt
Workshop 6: Designer tools
Sass: Introduction
Ad

More from Chih-cheng Wang (12)

PDF
六角學院 - 從社群到公司
PDF
網址管理與 DNS 託管全攻略
PDF
高雄前端社群 Web 開發讀書會 - 網頁設計規劃
PDF
Bootstrap 4 超詳盡解析
PDF
[Modern Web] CSS3 Grid Layout
PDF
Bootstrap4 與他的好搭檔
PDF
專業前端 都如何管理 CSS
PDF
響應式網頁實作坊
PDF
建立 Sass 環境,透過 Node sass
PDF
CSS 讀書會 - 1 (Grid system)
PDF
Slack 基本功能介紹
PDF
Google design
六角學院 - 從社群到公司
網址管理與 DNS 託管全攻略
高雄前端社群 Web 開發讀書會 - 網頁設計規劃
Bootstrap 4 超詳盡解析
[Modern Web] CSS3 Grid Layout
Bootstrap4 與他的好搭檔
專業前端 都如何管理 CSS
響應式網頁實作坊
建立 Sass 環境,透過 Node sass
CSS 讀書會 - 1 (Grid system)
Slack 基本功能介紹
Google design

Recently uploaded (20)

PDF
Design of Material Handling Equipment Lecture Note
PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PDF
Beginners-Guide-to-Artificial-Intelligence.pdf
PPTX
Principal presentation for NAAC (1).pptx
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
mechattonicsand iotwith sensor and actuator
PPTX
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
PPTX
Wireless sensor networks (WSN) SRM unit 2
PDF
Computer System Architecture 3rd Edition-M Morris Mano.pdf
PPTX
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
PDF
electrical machines course file-anna university
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
MAD Unit - 3 User Interface and Data Management (Diploma IT)
PPT
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
PPT
UNIT-I Machine Learning Essentials for 2nd years
PDF
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
Design of Material Handling Equipment Lecture Note
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
Beginners-Guide-to-Artificial-Intelligence.pdf
Principal presentation for NAAC (1).pptx
August 2025 - Top 10 Read Articles in Network Security & Its Applications
mechattonicsand iotwith sensor and actuator
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
Wireless sensor networks (WSN) SRM unit 2
Computer System Architecture 3rd Edition-M Morris Mano.pdf
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
distributed database system" (DDBS) is often used to refer to both the distri...
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
electrical machines course file-anna university
Management Information system : MIS-e-Business Systems.pptx
MAD Unit - 3 User Interface and Data Management (Diploma IT)
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
UNIT-I Machine Learning Essentials for 2nd years
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf

Sass 基礎教學 - 高雄前端社群(CSS 讀書會)