SlideShare a Scribd company logo
專業前端 都如何管理 CSS


專業前端 都如何管理 CSS


專業前端 都如何管理 CSS
專業前端 都如何管理 CSS
專業前端 都如何管理 CSS
專業前端 都如何管理 CSS


http://www.slideshare.net/stubbornella/object-oriented-css/26-Build_HTML_from_the_component_library
.btn	{	
				display:	inline-block;	
				padding:	.375rem	1rem;	
				font-size:	1rem;	
				font-weight:	400;	
				line-height:	1.5;	
				text-align:	center;	
				white-space:	nowrap;	
				vertical-align:	middle;	
				cursor:	pointer;	
				user-select:	none;	
				border:	1px	solid	transparent;	
				border-radius:	.25rem;	
}
.btn-primary	{	
				color:	#fff;	
				background-color:	#0275d8;	
				border-color:	#0275d8;	
}
1.
2.
3.
)

4.
5.
專業前端 都如何管理 CSS
專業前端 都如何管理 CSS
專業前端 都如何管理 CSS


專業前端 都如何管理 CSS
專業前端 都如何管理 CSS
card + list-group + heading
card + grid + button
.card	{	
		…	
}	
.card	.btn	{	
		…	
}
X


.text-primary	{	
		color:	blue;	
}	
.text-accent	{	
		color:	red;	
}
.text-blue{	
		color:	blue;	
}	
.text-red	{	
		color:	red;		
}
>
1. ....
.menu	{	
		//	4	 		
}	
.article	{	
		//	8	 		
}
.side	{	
		//	4	 		
}	
.content	{	
		//	8	 		
}
.side	{	
		//	4	 		
}	
.content	{	
		//	8	 		
}	
.ad	{	
		//	4	 		
}
.col-4	{	
		//	4	 		
}	
.col-8	{	
		//	8	 		
}
專業前端 都如何管理 CSS
專業前端 都如何管理 CSS
專業前端 都如何管理 CSS






專業前端 都如何管理 CSS
專業前端 都如何管理 CSS
1. 

2. sass Framework 

3. Framwork 

4. @mixin 

5.


6. uitilities
CSS 



1. 

2. 

3. mixin

4. ...




專業前端 都如何管理 CSS
sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			|–	_cover.scss							#	Cover		
|			|–	_dropdown.scss				#	Dropdown		
|			|–	_navigation.scss		#	Navigation		
|			...																		#	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		
|			|–	_header.scss						#	Header		
|			|–	_footer.scss						#	Footer		
|			|–	_sidebar.scss					#	Sidebar		
|			|–	_forms.scss							#	Forms		
|			...																		#	Etc…		
|		
|–	pages/		
|			|–	_home.scss								#	Home	specific	styles		
|			|–	_contact.scss					#	Contact	specific	styles		
|			...																		#	Etc…		
|		
|–	themes/		
|			|–	_theme.scss							#	Default	theme		
|			|–	_admin.scss							#	Admin	theme		
|			...																		#	Etc…		
|		
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			|–	_jquery-ui.scss			#	jQuery	UI		
|			...																		#	Etc…	




sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			|–	_cover.scss							#	Cover		
|			|–	_dropdown.scss				#	Dropdown		
|			|–	_navigation.scss		#	Navigation		
|			...																		#	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		
|			|–	_header.scss						#	Header		
|			|–	_footer.scss						#	Footer		
|			|–	_sidebar.scss					#	Sidebar		
|			|–	_forms.scss							#	Forms		
|			...																		#	Etc…		
|		
|–	pages/		
|			|–	_home.scss								#	Home	specific	styles		
|			|–	_contact.scss					#	Contact	specific	styles		
|			...																		#	Etc…		
|		
|–	themes/		
|			|–	_theme.scss							#	Default	theme		
|			|–	_admin.scss							#	Admin	theme		
|			...																		#	Etc…		
|		
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			|–	_jquery-ui.scss			#	jQuery	UI		
|			...																		#	Etc…	










sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			|–	_cover.scss							#	Cover		
|			|–	_dropdown.scss				#	Dropdown		
|			|–	_navigation.scss		#	Navigation		
|			...																		#	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		
|			|–	_header.scss						#	Header		
|			|–	_footer.scss						#	Footer		
|			|–	_sidebar.scss					#	Sidebar		
|			|–	_forms.scss							#	Forms		
|			...																		#	Etc…		
|		
|–	pages/		
|			|–	_home.scss								#	Home	specific	styles		
|			|–	_contact.scss					#	Contact	specific	styles		
|			...																		#	Etc…		
|		
|–	themes/		
|			|–	_theme.scss							#	Default	theme		
|			|–	_admin.scss							#	Admin	theme		
|			...																		#	Etc…		
|		
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			|–	_jquery-ui.scss			#	jQuery	UI		
|			...																		#	Etc…
sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			|–	_cover.scss							#	Cover		
|			|–	_dropdown.scss				#	Dropdown		
|			|–	_navigation.scss		#	Navigation		
|			...																		#	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		
|			|–	_header.scss						#	Header		
|			|–	_footer.scss						#	Footer		
|			|–	_sidebar.scss					#	Sidebar		
|			|–	_forms.scss							#	Forms		
|			...																		#	Etc…		
|		
|–	pages/		
|			|–	_home.scss								#	Home	specific	styles		
|			|–	_contact.scss					#	Contact	specific	styles		
|			...																		#	Etc…		
|		
|–	themes/		
|			|–	_theme.scss							#	Default	theme		
|			|–	_admin.scss							#	Admin	theme		
|			...																		#	Etc…		
|		
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			|–	_jquery-ui.scss			#	jQuery	UI		
|			...																		#	Etc…
sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			|–	_cover.scss							#	Cover		
|			|–	_dropdown.scss				#	Dropdown		
|			|–	_navigation.scss		#	Navigation		
|			...																		#	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		
|			|–	_header.scss						#	Header		
|			|–	_footer.scss						#	Footer		
|			|–	_sidebar.scss					#	Sidebar		
|			|–	_forms.scss							#	Forms		
|			...																		#	Etc…		
|		
|–	pages/		
|			|–	_home.scss								#	Home	specific	styles		
|			|–	_contact.scss					#	Contact	specific	styles		
|			...																		#	Etc…		
|		
|–	themes/		
|			|–	_theme.scss							#	Default	theme		
|			|–	_admin.scss							#	Admin	theme		
|			...																		#	Etc…		
|		
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			|–	_jquery-ui.scss			#	jQuery	UI		
|			...																		#	Etc…
sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			|–	_cover.scss							#	Cover		
|			|–	_dropdown.scss				#	Dropdown		
|			|–	_navigation.scss		#	Navigation		
|			...																		#	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		
|			|–	_header.scss						#	Header		
|			|–	_footer.scss						#	Footer		
|			|–	_sidebar.scss					#	Sidebar		
|			|–	_forms.scss							#	Forms		
|			...																		#	Etc…		
|		
|–	pages/		
|			|–	_home.scss								#	Home	specific	styles		
|			|–	_contact.scss					#	Contact	specific	styles		
|			...																		#	Etc…		
|		
|–	themes/		
|			|–	_theme.scss							#	Default	theme		
|			|–	_admin.scss							#	Admin	theme		
|			...																		#	Etc…		
|		
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			|–	_jquery-ui.scss			#	jQuery	UI		
|			...																		#	Etc…
sass/		
|		
|–	base/		
|			|–	_reset.scss							#	Reset/normalize		
|			|–	_typography.scss		#	Typography	rules		
|			...																		#	Etc…		
|		
|–	components/		
|			|–	_buttons.scss					#	Buttons		
|			|–	_carousel.scss				#	Carousel		
|			|–	_cover.scss							#	Cover		
|			|–	_dropdown.scss				#	Dropdown		
|			|–	_navigation.scss		#	Navigation		
|			...																		#	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		
|			|–	_header.scss						#	Header		
|			|–	_footer.scss						#	Footer		
|			|–	_sidebar.scss					#	Sidebar		
|			|–	_forms.scss							#	Forms		
|			...																		#	Etc…		
|		
|–	pages/		
|			|–	_home.scss								#	Home	specific	styles		
|			|–	_contact.scss					#	Contact	specific	styles		
|			...																		#	Etc…		
|		
|–	themes/		
|			|–	_theme.scss							#	Default	theme		
|			|–	_admin.scss							#	Admin	theme		
|			...																		#	Etc…		
|		
|–	vendors/		
|			|–	_bootstrap.scss			#	Bootstrap		
|			|–	_jquery-ui.scss			#	jQuery	UI		
|			...																		#	Etc…
sass/	
|		
|–	all.scss	
|	
|–	base/		
|		
|–	components/		
|		
|–	helpers/		
|		
|–	layout/		
|		
|–	pages/		
|		
|–	themes/		
|		
|–	vendors/	


Bootstrap
_variable
_utilities
_header
_index
_admin
_jqueryUi
專業前端 都如何管理 CSS

More Related Content

TXT
Yeni metin belgesi (2)
PDF
響應式網頁實作坊
PDF
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
PDF
[Modern Web] CSS3 Grid Layout
PDF
Bootstrap4 與他的好搭檔
PDF
Bootstrap 4 超詳盡解析
PDF
ZURB Foundation 5: Clean + Organized
PDF
Workshop 6: Designer tools
Yeni metin belgesi (2)
響應式網頁實作坊
Sass 基礎教學 - 高雄前端社群(CSS 讀書會)
[Modern Web] CSS3 Grid Layout
Bootstrap4 與他的好搭檔
Bootstrap 4 超詳盡解析
ZURB Foundation 5: Clean + Organized
Workshop 6: Designer tools

Similar to 專業前端 都如何管理 CSS (20)

PDF
CSS Workflow. Pre & Post
PDF
Getting Started with Sass & Compass
PDF
SASS, Compass, Gulp, Greensock
PDF
Fasten RWD Development with Sass
PPTX
Syntactically awesome stylesheets (Sass)
PDF
Sass that CSS
PDF
Atlanta Drupal User's Group - April 2015 - Sasstronauts: Advanced Sass Topics
PDF
Compass, Sass, and the Enlightened CSS Developer
PPTX
SASS Lecture
PDF
Assembling Sass
PDF
Exam 70 480 CSS3 at Jinal Desai .NET
PDF
CSS Extenders
PDF
Css preprocessor-140606115334-phpapp01
PDF
CSS preprocessor: why and how
PPTX
SASS is more than LESS
PDF
A better CSS: Sass and Less - CC FE & UX
PPTX
Joes sass presentation
PPTX
Archetype
KEY
Intro to SASS CSS
PPTX
Modularization css with sass
CSS Workflow. Pre & Post
Getting Started with Sass & Compass
SASS, Compass, Gulp, Greensock
Fasten RWD Development with Sass
Syntactically awesome stylesheets (Sass)
Sass that CSS
Atlanta Drupal User's Group - April 2015 - Sasstronauts: Advanced Sass Topics
Compass, Sass, and the Enlightened CSS Developer
SASS Lecture
Assembling Sass
Exam 70 480 CSS3 at Jinal Desai .NET
CSS Extenders
Css preprocessor-140606115334-phpapp01
CSS preprocessor: why and how
SASS is more than LESS
A better CSS: Sass and Less - CC FE & UX
Joes sass presentation
Archetype
Intro to SASS CSS
Modularization css with sass
Ad

More from Chih-cheng Wang (7)

PDF
六角學院 - 從社群到公司
PDF
網址管理與 DNS 託管全攻略
PDF
高雄前端社群 Web 開發讀書會 - 網頁設計規劃
PDF
建立 Sass 環境,透過 Node sass
PDF
CSS 讀書會 - 1 (Grid system)
PDF
Slack 基本功能介紹
PDF
Google design
六角學院 - 從社群到公司
網址管理與 DNS 託管全攻略
高雄前端社群 Web 開發讀書會 - 網頁設計規劃
建立 Sass 環境,透過 Node sass
CSS 讀書會 - 1 (Grid system)
Slack 基本功能介紹
Google design
Ad

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Classroom Observation Tools for Teachers
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Complications of Minimal Access Surgery at WLH
PDF
Insiders guide to clinical Medicine.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Pharma ospi slides which help in ospi learning
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Cell Types and Its function , kingdom of life
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial disease of the cardiovascular and lymphatic systems
FourierSeries-QuestionsWithAnswers(Part-A).pdf
human mycosis Human fungal infections are called human mycosis..pptx
Classroom Observation Tools for Teachers
Renaissance Architecture: A Journey from Faith to Humanism
102 student loan defaulters named and shamed – Is someone you know on the list?
Complications of Minimal Access Surgery at WLH
Insiders guide to clinical Medicine.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
TR - Agricultural Crops Production NC III.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Anesthesia in Laparoscopic Surgery in India
O5-L3 Freight Transport Ops (International) V1.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Pharma ospi slides which help in ospi learning
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

專業前端 都如何管理 CSS