SlideShare a Scribd company logo
1 of 119
Download to read offline




.box.left	{	
		float:	left;	
		height:	300px;	
		width:	50%;	
}
.box.right	{	
		float:	right;	
		height:	300px;	
		width:	50%;	
}
.wrap	{	
		padding:	20px;	
		 	
		...	
}
.box.left	{	
		float:	left;	
		height:	300px;	
		width:	50%;	
}
.box.right	{	
		float:	right;	
		height:	300px;	
		width:	50%;	
}
.box.left{	
		float:	left;	
		height:	300px;	
		width:	50%;	
}
.box.right	{	
		float:	right;	
		height:	300px;	
		width:	50%;	
}










.box	{	
		width:	200px;	
		height:	200px;	
		padding:	100px;	
		margin:	100px;	
}
.box	{	
		width:	200px;	
		height:	200px;	
		padding:	100px;	
		maring:	100px;	
		box-sizing:	border-box;	
}
box-sizing
padding
Menu Content
Header
Footer




Menu Content AD
Header
Footer
Menu Content AD
Header
Header
Header
Footer
Menu Content AD
Header
Footer
Menu
Content
Header
Menu
Content
Header












.col-**-*	{	
				position:	relative;	
				min-height:	1px;	
				
}
padding-right:	15px;	
padding-left:	15px;






@media	not|only	mediatype	and	(media	feature)	{	
				CSS-Code;	
}
@media	screen	and	(max-width:	600px)	{	
		.col-onethird	{	
				width:	100%;	
		}	
}




margin:	0	15px;








device-width
device-height
initial-scale
minimum-scale
maximum-scale
user-scalable






Menu Content AD
Header
Footer
Header
Content
Footer
Header
Content
Footer


@media	not|only	mediatype	and	(media	feature)	{	
				CSS-Code;	
}










- <input	type="date"	/>


<form	action=""	class="form">	
		<div	class="form-group">	
				<label	for="email">*Email	Address</label>	
				<input	id="email"	type="email"	class="form-control"	placeholder="Email"	
required/>	
		</div>	
		<div	class="form-group">	
				<label	for="password">*Password</label>	
				<input	id="password"	type="password"	class="form-control"	
placeholder="Password"	required/>	
		</div>	
		<div	class="form-group">	
				<label	for="tel">Tel</label>	
				<input	id="tel"	type="tel"	class="form-control"	placeholder=" "/>	
		</div>	
		<div>	
				<button	class="btn"	type="submit"> </button>	
		</div>	
</form>
<label	for="email"> input	id="email"
required
placeholder=" "
type="submit"


- inline	
- block	
- inline-block	
- none
<p>	
		<strong>Sketch</strong>	gives	you	the	power,	<strong>flexibility</
strong>	and	speed	you	always	wanted	in	a	lightweight	and	easy-to-use	
package.	Finally	you	can	focus	on	what	you	do	best:	<strong>Design</
strong>.	
</p>
strong	{	
		display:	block;	
		color:	orange;	
}
strong	{	
		padding:	10px;	
		margin:	10px;	
		background-color:	orange;	
}
strong	{	
		display:	inline-block;	
		padding:	10px;	
		margin:	10px;	
		background-color:	orange;	
}


$(document).ready(function(){	
		$('.button-toggle').click(function(e){	
				e.preventDefault();	
				$('.navbar-menu').toggleClass('active');	
		});	
});
href="#"




//	jQuery	
$(document).ready(function(){	
		$('.button-toggle').click(function(e){	
				e.preventDefault();	
				$('.navbar-menu').toggleClass('active');	
		});	
});






html,	body	{	
		line-height:	1.6;	
		font-size:	16px;	
		color:	#333;	
}	
p	{	
		margin-bottom:	12px;	
}	
ul	{	
		list-style-type:	disc;	
		margin-bottom:	12px;	
		margin-left:	1em;	
}


Header,	Footer
Header
Content
Footer




響應式網頁實作坊
響應式網頁實作坊

More Related Content

What's hot (6)

Css A Triedna Spolocnost
Css A Triedna SpolocnostCss A Triedna Spolocnost
Css A Triedna Spolocnost
 
Tmx9
Tmx9Tmx9
Tmx9
 
Formato encuesta
Formato encuestaFormato encuesta
Formato encuesta
 
Slider goymon
Slider goymonSlider goymon
Slider goymon
 
Class 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddleClass 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddle
 
A Two-step Dance with Django and Jinja2 Templates
A Two-step Dance with Django and Jinja2 TemplatesA Two-step Dance with Django and Jinja2 Templates
A Two-step Dance with Django and Jinja2 Templates
 

Similar to 響應式網頁實作坊

Css margin and padding property
Css margin and padding propertyCss margin and padding property
Css margin and padding property
Jesus Obenita Jr.
 
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docxWeek ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
philipnelson29183
 

Similar to 響應式網頁實作坊 (6)

Css positioning
Css positioningCss positioning
Css positioning
 
Css margin and padding property
Css margin and padding propertyCss margin and padding property
Css margin and padding property
 
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docxWeek ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
 
Css2layout
Css2layoutCss2layout
Css2layout
 
Theme02
Theme02Theme02
Theme02
 
Theme03
Theme03Theme03
Theme03
 

More from Chih-cheng Wang

高雄前端社群 Web 開發讀書會 - 網頁設計規劃
高雄前端社群 Web 開發讀書會 - 網頁設計規劃高雄前端社群 Web 開發讀書會 - 網頁設計規劃
高雄前端社群 Web 開發讀書會 - 網頁設計規劃
Chih-cheng Wang
 

More from Chih-cheng Wang (12)

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

Recently uploaded

Recently uploaded (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

響應式網頁實作坊