SlideShare a Scribd company logo
.header {
..
}
@media(max-width: 768px) {
.header {
..
}
}
@media(max-width: 320px) {
.header {
..
}
}
@mixin Pad{
@media(max-width: 768px) {
@content
}
}
@mixin iPhone6{
@media(max-width: 375px) {
@content
}
}
.header {
..
@include Pad{
..
}
@include iPhone6{
..
}
}
.header
..
+Pad
..
+iPhone
..
<div class="media">
<div class="body">
<h3 class="alpha"></h3>
<p class="lede"></p>
</div>
</div>
button
button
<input type="button" class="btn">
<input type="button" class="btn btn-primary">
<input type="button" class="btn btn-primary btn-large">
button
btn hack
btn-primary
btn-large padding
<table class="pure-table">
<table class="pure-table pure-table-bordered">
// (JS)
.block--active
//
.block--MobileShake
//block title Float
.block__title--float //BEM
.block-title--float //
<div class="table table-h trailer">
<div class="table-row table-row--MobileInline">
<div class="table-title w20"> </div>
<div class="table-content"> </div>
</div>
<div class="table-row">
<div class="table-title"> </div>
<div class="table-content"> </div>
</div>
</div>
display:table
display:table-row
display:table-cell
display:table-cell
PC Mobile
<div class="table table-h trailer">
<div class="table-row table-row--MobileIline">
<div class="table-title w20"> </div>
<div class="table-content"> </div>
</div>
<div class="table-row">
<div class="table-title"> </D>
<div class="table-content"> </div>
</div>
</div>
display:table
display:table-row
display:table-cell
display:table-cell
PC Mobile
SMACSS
1.table
2.table-h table-v
<div class="table table-h trailer">
<div class="table-row table-row--MobileIline">
<div class="table-title w20"> </div>
<div class="table-content"> </div>
</div>
<div class="table-row">
<div class="table-title"> </D>
<div class="table-content"> </div>
</div>
</div>
display:table
display:table-row
display:table-cell
display:table-cell
PC Mobile
1. div table 

RWD 

Mobile 

2. table
<div class="table table-h trailer">
<div class="table-row table-row--MobileIline">
<div class="table-title w20"> </div>
<div class="table-content"> </div>
</div>
<div class="table-row">
<div class="table-title"> </D>
<div class="table-content"> </div>
</div>
</div>
display:table
display:table-row
display:table-cell
display:table-cell
PC Mobile
trailer = margin-bottom:1
w20 = 20%
OOCSS - CSS Class
<div class="table table-h trailer">
<div class="table-row table-row--MobileInline">
<div class="table-title w20"> </div>
<div class="table-content"> </div>
</div>
<div class="table-row">
<div class="table-title"> </D>
<div class="table-content"> </div>
</div>
</div>
display:table
display:table-row
display:table-cell
display:table-cell
PC Mobile
table-row--MobileInline = div inline
BEM -
<div class="table table-h trailer">
<div class="table-row table-row--MobileInline">
<div class="table-title w20"> </div>
<div class="table-content"> </div>
</div>
<div class="table-row">
<div class="table-title"> </div>
<div class="table-content"> </div>
</div>
</div>
|-- _variables.scss
|-- _reset.scss
|-- _mixins.scss
|-- _layout.scss
|-- _index.scss
|-- _page1.scss
|-- _page2.scss
//
// meyerweb Normalize
// Mixin function
// (header aside)
//
//
//
|-- _variables.scss
|-- _reset.scss
|-- _grid.scss
|-- _OOCSS.scss
|-- _typography.scss
|-- _mixins.scss
|-- _layout.scss
|-- _index.scss
|-- _page1.scss
|-- _page2.scss
//
// meyerweb Normalize
// RWD
// CSS
//
// Mixin function
// (header aside)
//
//
//
|-- config (reset variables typography grid)
|-- helper (state Mixin OOCSS)
|-- core (button table form)
|-- component (button-group breadcrumb)
|-- layout (header footer l-list)
|-- page (page1 page2)
|-- vendor (jqSlider jqValid)
|-- inbox ( )
@import "config/*";
@import "helper/*";
@import "component/*";
@import "layout/*";
@import "page/*";
@import "vendor/*";
@import "inbox";
//
RFP ..
<link rel="stylesheet" href="/css/all.css">
<link rel="stylesheet" href="/css/version/bsp.css">
1.all.css CSS
2.bsp.css theme
1. scss bsp.scss red.scss
2. _subtheme.scss
bsp.scss
_subtheme.scss
_subtheme.scss
code
GG

More Related Content

Viewers also liked

自從學會Sass / Compass後,考試都考100分!
自從學會Sass / Compass後,考試都考100分!自從學會Sass / Compass後,考試都考100分!
自從學會Sass / Compass後,考試都考100分!
洧杰 廖
 
如何逐步提升CSS的可利用性、模組化
如何逐步提升CSS的可利用性、模組化如何逐步提升CSS的可利用性、模組化
如何逐步提升CSS的可利用性、模組化洧杰 廖
 
前端開發流程分享
前端開發流程分享前端開發流程分享
前端開發流程分享洧杰 廖
 
Gulp.js 自動化前端任務流程
Gulp.js 自動化前端任務流程Gulp.js 自動化前端任務流程
Gulp.js 自動化前端任務流程
洧杰 廖
 
Vertical rhythm
Vertical rhythmVertical rhythm
Vertical rhythm洧杰 廖
 
漫談 CSS 架構方法 - 以 OOCSS, SMACSS, BEM 為例
漫談 CSS 架構方法 - 以 OOCSS, SMACSS, BEM 為例漫談 CSS 架構方法 - 以 OOCSS, SMACSS, BEM 為例
漫談 CSS 架構方法 - 以 OOCSS, SMACSS, BEM 為例
Kuro Hsu
 
現代化網頁基礎排版技術
現代化網頁基礎排版技術現代化網頁基礎排版技術
現代化網頁基礎排版技術洧杰 廖
 
打造輕量化手機網站
打造輕量化手機網站打造輕量化手機網站
打造輕量化手機網站
Rei Ayanami
 
高雄前端社群 #6 絕對教會你jQuery動畫效果
高雄前端社群 #6 絕對教會你jQuery動畫效果高雄前端社群 #6 絕對教會你jQuery動畫效果
高雄前端社群 #6 絕對教會你jQuery動畫效果洧杰 廖
 
高雄前端社群 #3 SASS workshop
高雄前端社群 #3 SASS workshop高雄前端社群 #3 SASS workshop
高雄前端社群 #3 SASS workshop洧杰 廖
 
高雄前端社群 #4 psdtohtml workshop
高雄前端社群 #4 psdtohtml workshop高雄前端社群 #4 psdtohtml workshop
高雄前端社群 #4 psdtohtml workshop
洧杰 廖
 
Sass-Front-End Developers Taiwan Party - 5
Sass-Front-End Developers Taiwan Party - 5Sass-Front-End Developers Taiwan Party - 5
Sass-Front-End Developers Taiwan Party - 5洧杰 廖
 
那些年,我們曾經做過的wireframe、mockup、prototype
那些年,我們曾經做過的wireframe、mockup、prototype那些年,我們曾經做過的wireframe、mockup、prototype
那些年,我們曾經做過的wireframe、mockup、prototype洧杰 廖
 
Pinkoi 把手機版網站變好用了
Pinkoi 把手機版網站變好用了Pinkoi 把手機版網站變好用了
Pinkoi 把手機版網站變好用了
Adam Wang
 
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
MediaTek Labs
 
C#
C#C#
LinkIt Smart 7688 Duo and MCS basics
LinkIt Smart 7688 Duo and MCS basicsLinkIt Smart 7688 Duo and MCS basics
LinkIt Smart 7688 Duo and MCS basics
CAVEDU Education
 
How to create your Smart Toy with bluemix & 7688 Duo board
How to create your Smart Toy with bluemix & 7688 Duo boardHow to create your Smart Toy with bluemix & 7688 Duo board
How to create your Smart Toy with bluemix & 7688 Duo board
湯米吳 Tommy Wu
 
IoTシステムを支えるワンストップ基盤 Plat'Data Processing
IoTシステムを支えるワンストップ基盤 Plat'Data ProcessingIoTシステムを支えるワンストップ基盤 Plat'Data Processing
IoTシステムを支えるワンストップ基盤 Plat'Data Processing
Kohei MATSUSHITA
 
智慧行動App跨國推廣經驗談 by 天橋科技
智慧行動App跨國推廣經驗談 by 天橋科技智慧行動App跨國推廣經驗談 by 天橋科技
智慧行動App跨國推廣經驗談 by 天橋科技Amos Lee
 

Viewers also liked (20)

自從學會Sass / Compass後,考試都考100分!
自從學會Sass / Compass後,考試都考100分!自從學會Sass / Compass後,考試都考100分!
自從學會Sass / Compass後,考試都考100分!
 
如何逐步提升CSS的可利用性、模組化
如何逐步提升CSS的可利用性、模組化如何逐步提升CSS的可利用性、模組化
如何逐步提升CSS的可利用性、模組化
 
前端開發流程分享
前端開發流程分享前端開發流程分享
前端開發流程分享
 
Gulp.js 自動化前端任務流程
Gulp.js 自動化前端任務流程Gulp.js 自動化前端任務流程
Gulp.js 自動化前端任務流程
 
Vertical rhythm
Vertical rhythmVertical rhythm
Vertical rhythm
 
漫談 CSS 架構方法 - 以 OOCSS, SMACSS, BEM 為例
漫談 CSS 架構方法 - 以 OOCSS, SMACSS, BEM 為例漫談 CSS 架構方法 - 以 OOCSS, SMACSS, BEM 為例
漫談 CSS 架構方法 - 以 OOCSS, SMACSS, BEM 為例
 
現代化網頁基礎排版技術
現代化網頁基礎排版技術現代化網頁基礎排版技術
現代化網頁基礎排版技術
 
打造輕量化手機網站
打造輕量化手機網站打造輕量化手機網站
打造輕量化手機網站
 
高雄前端社群 #6 絕對教會你jQuery動畫效果
高雄前端社群 #6 絕對教會你jQuery動畫效果高雄前端社群 #6 絕對教會你jQuery動畫效果
高雄前端社群 #6 絕對教會你jQuery動畫效果
 
高雄前端社群 #3 SASS workshop
高雄前端社群 #3 SASS workshop高雄前端社群 #3 SASS workshop
高雄前端社群 #3 SASS workshop
 
高雄前端社群 #4 psdtohtml workshop
高雄前端社群 #4 psdtohtml workshop高雄前端社群 #4 psdtohtml workshop
高雄前端社群 #4 psdtohtml workshop
 
Sass-Front-End Developers Taiwan Party - 5
Sass-Front-End Developers Taiwan Party - 5Sass-Front-End Developers Taiwan Party - 5
Sass-Front-End Developers Taiwan Party - 5
 
那些年,我們曾經做過的wireframe、mockup、prototype
那些年,我們曾經做過的wireframe、mockup、prototype那些年,我們曾經做過的wireframe、mockup、prototype
那些年,我們曾經做過的wireframe、mockup、prototype
 
Pinkoi 把手機版網站變好用了
Pinkoi 把手機版網站變好用了Pinkoi 把手機版網站變好用了
Pinkoi 把手機版網站變好用了
 
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
 
C#
C#C#
C#
 
LinkIt Smart 7688 Duo and MCS basics
LinkIt Smart 7688 Duo and MCS basicsLinkIt Smart 7688 Duo and MCS basics
LinkIt Smart 7688 Duo and MCS basics
 
How to create your Smart Toy with bluemix & 7688 Duo board
How to create your Smart Toy with bluemix & 7688 Duo boardHow to create your Smart Toy with bluemix & 7688 Duo board
How to create your Smart Toy with bluemix & 7688 Duo board
 
IoTシステムを支えるワンストップ基盤 Plat'Data Processing
IoTシステムを支えるワンストップ基盤 Plat'Data ProcessingIoTシステムを支えるワンストップ基盤 Plat'Data Processing
IoTシステムを支えるワンストップ基盤 Plat'Data Processing
 
智慧行動App跨國推廣經驗談 by 天橋科技
智慧行動App跨國推廣經驗談 by 天橋科技智慧行動App跨國推廣經驗談 by 天橋科技
智慧行動App跨國推廣經驗談 by 天橋科技
 

Similar to Sass&amp;rwd前端版型架構規劃

HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2James Pearce
 
Adaptive Layouts - standards>next London 28.05.2011
Adaptive Layouts - standards>next London 28.05.2011Adaptive Layouts - standards>next London 28.05.2011
Adaptive Layouts - standards>next London 28.05.2011
Patrick Lauke
 
20190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React201920190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React2019
Makoto Mori
 
Profit statement 00
Profit statement 00Profit statement 00
Profit statement 00
Sandro Suzart
 
Polymer
PolymerPolymer
Polymer
Cyril Balit
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
www.netgains.org
 
The Ring programming language version 1.9 book - Part 52 of 210
The Ring programming language version 1.9 book - Part 52 of 210The Ring programming language version 1.9 book - Part 52 of 210
The Ring programming language version 1.9 book - Part 52 of 210
Mahmoud Samir Fayed
 
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...Patrick Lauke
 
HTML5 New and Improved
HTML5   New and ImprovedHTML5   New and Improved
HTML5 New and Improved
Timothy Fisher
 
Responsive Design: Mehr als CSS
Responsive Design: Mehr als CSSResponsive Design: Mehr als CSS
Responsive Design: Mehr als CSS
Walter Ebert
 
Copy of-a-walk-around-westfall-plaza
Copy of-a-walk-around-westfall-plazaCopy of-a-walk-around-westfall-plaza
Copy of-a-walk-around-westfall-plazahelgawerth
 
Java script programms
Java script programmsJava script programms
Java script programms
Mukund Gandrakota
 
AtlasCamp 2013: Modernizing your Plugin UI
AtlasCamp 2013: Modernizing your Plugin UI AtlasCamp 2013: Modernizing your Plugin UI
AtlasCamp 2013: Modernizing your Plugin UI colleenfry
 
Bootstrap
BootstrapBootstrap
Bootstrap
Sarvesh Kushwaha
 
Bootstrap day2
Bootstrap day2Bootstrap day2
Bootstrap day2
Rafi Haidari
 
TURN YOUR CELL PHONE FROM A LIABILITY INTO AN ASSET!
TURN YOUR CELL PHONE FROM A LIABILITY INTO AN ASSET!TURN YOUR CELL PHONE FROM A LIABILITY INTO AN ASSET!
TURN YOUR CELL PHONE FROM A LIABILITY INTO AN ASSET!Coulawrence
 
Web Technology Lab files with practical
Web Technology Lab  files with practicalWeb Technology Lab  files with practical
Web Technology Lab files with practical
Nitesh Dubey
 

Similar to Sass&amp;rwd前端版型架構規劃 (20)

HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2
 
Adaptive Layouts - standards>next London 28.05.2011
Adaptive Layouts - standards>next London 28.05.2011Adaptive Layouts - standards>next London 28.05.2011
Adaptive Layouts - standards>next London 28.05.2011
 
20190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React201920190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React2019
 
Profit statement 00
Profit statement 00Profit statement 00
Profit statement 00
 
Practica n° 7
Practica n° 7Practica n° 7
Practica n° 7
 
WebAPI Odata Knockout
WebAPI Odata KnockoutWebAPI Odata Knockout
WebAPI Odata Knockout
 
Polymer
PolymerPolymer
Polymer
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
The Ring programming language version 1.9 book - Part 52 of 210
The Ring programming language version 1.9 book - Part 52 of 210The Ring programming language version 1.9 book - Part 52 of 210
The Ring programming language version 1.9 book - Part 52 of 210
 
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
 
HTML5 New and Improved
HTML5   New and ImprovedHTML5   New and Improved
HTML5 New and Improved
 
Responsive Design: Mehr als CSS
Responsive Design: Mehr als CSSResponsive Design: Mehr als CSS
Responsive Design: Mehr als CSS
 
iWebkit
iWebkitiWebkit
iWebkit
 
Copy of-a-walk-around-westfall-plaza
Copy of-a-walk-around-westfall-plazaCopy of-a-walk-around-westfall-plaza
Copy of-a-walk-around-westfall-plaza
 
Java script programms
Java script programmsJava script programms
Java script programms
 
AtlasCamp 2013: Modernizing your Plugin UI
AtlasCamp 2013: Modernizing your Plugin UI AtlasCamp 2013: Modernizing your Plugin UI
AtlasCamp 2013: Modernizing your Plugin UI
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Bootstrap day2
Bootstrap day2Bootstrap day2
Bootstrap day2
 
TURN YOUR CELL PHONE FROM A LIABILITY INTO AN ASSET!
TURN YOUR CELL PHONE FROM A LIABILITY INTO AN ASSET!TURN YOUR CELL PHONE FROM A LIABILITY INTO AN ASSET!
TURN YOUR CELL PHONE FROM A LIABILITY INTO AN ASSET!
 
Web Technology Lab files with practical
Web Technology Lab  files with practicalWeb Technology Lab  files with practical
Web Technology Lab files with practical
 

Recently uploaded

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
varshanayak241
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
Jelle | Nordend
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
Peter Caitens
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 

Recently uploaded (20)

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 

Sass&amp;rwd前端版型架構規劃

  • 1.
  • 2.
  • 3.
  • 4.
  • 5. .header { .. } @media(max-width: 768px) { .header { .. } } @media(max-width: 320px) { .header { .. } }
  • 6. @mixin Pad{ @media(max-width: 768px) { @content } } @mixin iPhone6{ @media(max-width: 375px) { @content } }
  • 9.
  • 10.
  • 11. <div class="media"> <div class="body"> <h3 class="alpha"></h3> <p class="lede"></p> </div> </div>
  • 12.
  • 13.
  • 14.
  • 15. button button <input type="button" class="btn"> <input type="button" class="btn btn-primary"> <input type="button" class="btn btn-primary btn-large"> button btn hack btn-primary btn-large padding
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. // (JS) .block--active // .block--MobileShake //block title Float .block__title--float //BEM .block-title--float //
  • 23.
  • 24. <div class="table table-h trailer"> <div class="table-row table-row--MobileInline"> <div class="table-title w20"> </div> <div class="table-content"> </div> </div> <div class="table-row"> <div class="table-title"> </div> <div class="table-content"> </div> </div> </div> display:table display:table-row display:table-cell display:table-cell PC Mobile
  • 25. <div class="table table-h trailer"> <div class="table-row table-row--MobileIline"> <div class="table-title w20"> </div> <div class="table-content"> </div> </div> <div class="table-row"> <div class="table-title"> </D> <div class="table-content"> </div> </div> </div> display:table display:table-row display:table-cell display:table-cell PC Mobile SMACSS 1.table 2.table-h table-v
  • 26. <div class="table table-h trailer"> <div class="table-row table-row--MobileIline"> <div class="table-title w20"> </div> <div class="table-content"> </div> </div> <div class="table-row"> <div class="table-title"> </D> <div class="table-content"> </div> </div> </div> display:table display:table-row display:table-cell display:table-cell PC Mobile 1. div table 
 RWD 
 Mobile 
 2. table
  • 27. <div class="table table-h trailer"> <div class="table-row table-row--MobileIline"> <div class="table-title w20"> </div> <div class="table-content"> </div> </div> <div class="table-row"> <div class="table-title"> </D> <div class="table-content"> </div> </div> </div> display:table display:table-row display:table-cell display:table-cell PC Mobile trailer = margin-bottom:1 w20 = 20% OOCSS - CSS Class
  • 28. <div class="table table-h trailer"> <div class="table-row table-row--MobileInline"> <div class="table-title w20"> </div> <div class="table-content"> </div> </div> <div class="table-row"> <div class="table-title"> </D> <div class="table-content"> </div> </div> </div> display:table display:table-row display:table-cell display:table-cell PC Mobile table-row--MobileInline = div inline BEM -
  • 29. <div class="table table-h trailer"> <div class="table-row table-row--MobileInline"> <div class="table-title w20"> </div> <div class="table-content"> </div> </div> <div class="table-row"> <div class="table-title"> </div> <div class="table-content"> </div> </div> </div>
  • 30.
  • 31.
  • 32. |-- _variables.scss |-- _reset.scss |-- _mixins.scss |-- _layout.scss |-- _index.scss |-- _page1.scss |-- _page2.scss // // meyerweb Normalize // Mixin function // (header aside) // // //
  • 33. |-- _variables.scss |-- _reset.scss |-- _grid.scss |-- _OOCSS.scss |-- _typography.scss |-- _mixins.scss |-- _layout.scss |-- _index.scss |-- _page1.scss |-- _page2.scss // // meyerweb Normalize // RWD // CSS // // Mixin function // (header aside) // // //
  • 34. |-- config (reset variables typography grid) |-- helper (state Mixin OOCSS) |-- core (button table form) |-- component (button-group breadcrumb) |-- layout (header footer l-list) |-- page (page1 page2) |-- vendor (jqSlider jqValid) |-- inbox ( )
  • 35. @import "config/*"; @import "helper/*"; @import "component/*"; @import "layout/*"; @import "page/*"; @import "vendor/*"; @import "inbox"; //
  • 37. <link rel="stylesheet" href="/css/all.css"> <link rel="stylesheet" href="/css/version/bsp.css"> 1.all.css CSS 2.bsp.css theme
  • 38. 1. scss bsp.scss red.scss 2. _subtheme.scss bsp.scss
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.