SlideShare uma empresa Scribd logo
1 de 38
Baixar para ler offline
Responsive Design
Hans Shih 2014.01.23 @ GozCafe
為什麼要 Responsive?
因為 Devices/Screens 很多
體驗必須⼀一致
體驗⼀一致,品牌才能累積價值
Let’s Get Responsive !
and Write Some Code
Viewpoint, Media Queries
min/max, width/height
device-, orientation, aspect-ratio
Google ”css media queries common sizes iPhone 5”
挑想要的 size 然後 copy/paste
網站就可以 Responsive 了
ㄎㄎㄎ
尼騙⼈人
Let’s Get Responsive !
and Do Some Tests
Responsive 測試⼯工具:Screenfly

http://quirktools.com/screenfly/
多屏、多設備、多解析度測試

http://www.smashingmagazine.com/

http://www.bostonglobe.com/
Live Demo
Q: 怎麼找到合適的 Size 設定?
⽤用 Google 找通⽤用的設定
參考 GA - 常⽤用螢幕解析度
參考 GA - 常⽤用⾏行動裝置
Q: 怎麼找到網站的 Breakpoint?
使⽤用 Responsivepx.com 拉⼀一拉

http://responsivepx.com/
Breakpoint 補充:!
!

Media queries give you the ability to adjust that layout
based on the capabilities of a screen. There is no
default recommended set of breakpoints. !
!

Don't use breakpoints based on popular devices. This
list is always changing and you'll paint yourself into a
corner.!
!

from : http://www.lukew.com/ff/entry.asp?1714!
Q: 照⽚片也要跟著 Responsive?
照⽚片變得太⼩小

http://www.cxpartners.co.uk/cxblog/user-experience-problems-with-responsive-photos/
最好要 Responsive

http://www.cxpartners.co.uk/cxblog/user-experience-problems-with-responsive-photos/
另⼀一個例⼦子:看不清楚的歐巴⾺馬
鏡頭可以再
靠近⼀一點嗎

http://blog.cloudfour.com/a-framework-for-discussing-responsive-images-solutions/
Q: 導覽列也要跟著 Responsive?
導覽列⼀一定要 Responsive

請點下⾯面連結參考常⾒見的 Responsive Navigation Patterns
http://bradfrostweb.com/blog/web/responsive-nav-patterns/
Q: 表格也要跟著 Responsive?!
Q: ⽂文字也要跟著 Responsive?!
Q: Icon也要跟著 Responsive?
Yes! 表格也要 Responsive

Bad

Good

http://css-tricks.com/responsive-data-tables/
Yes! ⽂文字也要 Responsive

http://ia.net/blog/responsive-typography-the-basics/
No! Icon 最好不要 Responsive

雖然底下的⽂文章認為要 Responsive,但最好不要,因為 Icon 很難辨認
http://designmodo.com/responsive-icons/
有這麼多東⻄西要 Responsive!
所以最容易遇到的問題是
網站檔案太⼤大
因為很多東⻄西要跟著 Responsive(尤其是圖⽚片),所以
檔案會⽐比較⼤大,網站變慢,頻寬吃得多,付錢也付得多。
!

One of the most common critiques against responsive
Web design is that it creates large (file size) Web sites,
thereby slowing Web pages down.
http://www.lukew.com/ff/entry.asp?1714
解決辦法⼀一:RESS
The Server Side of Responsive Web Design
在 Server 端做完 Responsive 才傳靜態網⾴頁回 Client 端。
http://www.lukew.com/ff/entry.asp?1807

解決辦法⼆二:壓縮圖⽚片
Google has some great information on ways to optimize images.
請看下⾯面⽂文章中第七條
http://blog.cloudfour.com/8-guidelines-and-1-rule-for-responsive-images/
最後為您獻上!
45 Free Responsive HTML5 Templates

http://www.instantshift.com/2013/10/14/free-responsive-html5-templates/
Thanks For Your Attention
Hans Shih!
Blog : www.hansshih.com!
Email : oort.shih@gmail.com

Mais conteúdo relacionado

Destaque

Body language - You see, but you do not observe.
Body language - You see, but you do not observe.Body language - You see, but you do not observe.
Body language - You see, but you do not observe.
Hans Shih
 
某年某月某一天 讀書會 @ HPX 60 讀書會大聚
某年某月某一天 讀書會 @ HPX 60 讀書會大聚某年某月某一天 讀書會 @ HPX 60 讀書會大聚
某年某月某一天 讀書會 @ HPX 60 讀書會大聚
Hans Shih
 
Information architecture ch 6
Information architecture ch 6Information architecture ch 6
Information architecture ch 6
Hans Shih
 
Tapworthy ch 11
Tapworthy ch 11Tapworthy ch 11
Tapworthy ch 11
Hans Shih
 
Social analytics @ google
Social analytics @ googleSocial analytics @ google
Social analytics @ google
Hans Shih
 
Presentation zen ch 1
Presentation zen ch 1Presentation zen ch 1
Presentation zen ch 1
Hans Shih
 
閱讀非語言行為V2.0
閱讀非語言行為V2.0閱讀非語言行為V2.0
閱讀非語言行為V2.0
Hans Shih
 
About face ch 5
About face ch 5About face ch 5
About face ch 5
Hans Shih
 
大數據獲利模式 Ch 2
大數據獲利模式 Ch 2大數據獲利模式 Ch 2
大數據獲利模式 Ch 2
Hans Shih
 

Destaque (20)

Body language - You see, but you do not observe.
Body language - You see, but you do not observe.Body language - You see, but you do not observe.
Body language - You see, but you do not observe.
 
提高轉換率 – 令人心動的行為召喚設計 Hpx life 45
提高轉換率 – 令人心動的行為召喚設計 Hpx life 45提高轉換率 – 令人心動的行為召喚設計 Hpx life 45
提高轉換率 – 令人心動的行為召喚設計 Hpx life 45
 
David 龔 - 2015 寒假 說故事技巧營
David 龔 - 2015 寒假 說故事技巧營David 龔 - 2015 寒假 說故事技巧營
David 龔 - 2015 寒假 說故事技巧營
 
David 龔 - 學會說故事 20150323
David 龔 - 學會說故事 20150323David 龔 - 學會說故事 20150323
David 龔 - 學會說故事 20150323
 
某年某月某一天 讀書會 @ HPX 60 讀書會大聚
某年某月某一天 讀書會 @ HPX 60 讀書會大聚某年某月某一天 讀書會 @ HPX 60 讀書會大聚
某年某月某一天 讀書會 @ HPX 60 讀書會大聚
 
Ux & scrum
Ux & scrumUx & scrum
Ux & scrum
 
2016.05.30 菜單討拍拍 設計概念 台科大
2016.05.30 菜單討拍拍 設計概念 台科大2016.05.30 菜單討拍拍 設計概念 台科大
2016.05.30 菜單討拍拍 設計概念 台科大
 
Information architecture ch 6
Information architecture ch 6Information architecture ch 6
Information architecture ch 6
 
Tapworthy ch 11
Tapworthy ch 11Tapworthy ch 11
Tapworthy ch 11
 
Social analytics @ google
Social analytics @ googleSocial analytics @ google
Social analytics @ google
 
Mezzanine
MezzanineMezzanine
Mezzanine
 
Presentation zen ch 1
Presentation zen ch 1Presentation zen ch 1
Presentation zen ch 1
 
閱讀非語言行為V2.0
閱讀非語言行為V2.0閱讀非語言行為V2.0
閱讀非語言行為V2.0
 
About face ch 5
About face ch 5About face ch 5
About face ch 5
 
使用者經驗設計在台灣:困境與挑戰
使用者經驗設計在台灣:困境與挑戰使用者經驗設計在台灣:困境與挑戰
使用者經驗設計在台灣:困境與挑戰
 
David龔 說故事試聽講義 - Europe 2 雞與蛋 20150402
David龔 說故事試聽講義 - Europe 2 雞與蛋 20150402David龔 說故事試聽講義 - Europe 2 雞與蛋 20150402
David龔 說故事試聽講義 - Europe 2 雞與蛋 20150402
 
2016 David龔-換位思考工作坊 072616
2016 David龔-換位思考工作坊 0726162016 David龔-換位思考工作坊 072616
2016 David龔-換位思考工作坊 072616
 
社會設計與回憶錄大富翁
社會設計與回憶錄大富翁社會設計與回憶錄大富翁
社會設計與回憶錄大富翁
 
2016.05.30 shopioneer概念設計報告
2016.05.30 shopioneer概念設計報告2016.05.30 shopioneer概念設計報告
2016.05.30 shopioneer概念設計報告
 
大數據獲利模式 Ch 2
大數據獲利模式 Ch 2大數據獲利模式 Ch 2
大數據獲利模式 Ch 2
 

Semelhante a Responsive design

Why should we build our website responsive
Why should we build our website responsiveWhy should we build our website responsive
Why should we build our website responsive
Omkarsoft Bangalore
 

Semelhante a Responsive design (20)

Test Design for Responsive Websites
Test Design for Responsive WebsitesTest Design for Responsive Websites
Test Design for Responsive Websites
 
Web Design in the Multiscreen Era
Web Design in the Multiscreen EraWeb Design in the Multiscreen Era
Web Design in the Multiscreen Era
 
17 Ways to Save Time on Manual Cross Browser Testing
17 Ways to Save Time on Manual Cross Browser Testing17 Ways to Save Time on Manual Cross Browser Testing
17 Ways to Save Time on Manual Cross Browser Testing
 
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
 
Testing Responsive Webdesign
Testing Responsive WebdesignTesting Responsive Webdesign
Testing Responsive Webdesign
 
Successful interactive design
Successful interactive designSuccessful interactive design
Successful interactive design
 
10 Things You Must Need To Know About Responsive Design.pdf
10 Things You Must Need To Know About Responsive Design.pdf10 Things You Must Need To Know About Responsive Design.pdf
10 Things You Must Need To Know About Responsive Design.pdf
 
Eng 313 ADA Project 2 Slidedoc 3
Eng 313 ADA Project 2 Slidedoc 3Eng 313 ADA Project 2 Slidedoc 3
Eng 313 ADA Project 2 Slidedoc 3
 
Build a Responsive WordPress Theme with Zurbs Foundation Framework
Build a Responsive WordPress Theme with Zurbs Foundation FrameworkBuild a Responsive WordPress Theme with Zurbs Foundation Framework
Build a Responsive WordPress Theme with Zurbs Foundation Framework
 
Top Tips for Responsive eLearning Design
Top Tips for Responsive eLearning Design Top Tips for Responsive eLearning Design
Top Tips for Responsive eLearning Design
 
Website Launch Checklist
Website Launch ChecklistWebsite Launch Checklist
Website Launch Checklist
 
7 Factors to Consider When Building Your Mobile Strategy
7 Factors to Consider When Building Your Mobile Strategy7 Factors to Consider When Building Your Mobile Strategy
7 Factors to Consider When Building Your Mobile Strategy
 
Responsive Web Design using ZURB Foundation
Responsive Web Design using ZURB FoundationResponsive Web Design using ZURB Foundation
Responsive Web Design using ZURB Foundation
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Why should we build our website responsive
Why should we build our website responsiveWhy should we build our website responsive
Why should we build our website responsive
 
Life is not static - your designs shouldn't be either - No Code Conf 2019 Wor...
Life is not static - your designs shouldn't be either - No Code Conf 2019 Wor...Life is not static - your designs shouldn't be either - No Code Conf 2019 Wor...
Life is not static - your designs shouldn't be either - No Code Conf 2019 Wor...
 
Responsive Web Design- Trending
Responsive Web Design- TrendingResponsive Web Design- Trending
Responsive Web Design- Trending
 
10 practices that every developer needs to start right now
10 practices that every developer needs to start right now10 practices that every developer needs to start right now
10 practices that every developer needs to start right now
 
Compatibility testing
Compatibility testingCompatibility testing
Compatibility testing
 
How not having a Responsive Website can be Detrimental to your business?
How not having a Responsive Website can be Detrimental to your business?How not having a Responsive Website can be Detrimental to your business?
How not having a Responsive Website can be Detrimental to your business?
 

Último

Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
amitlee9823
 
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
nirzagarg
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Vip Mumbai Call Girls Borivali Call On 9920725232 With Body to body massage w...
Vip Mumbai Call Girls Borivali Call On 9920725232 With Body to body massage w...Vip Mumbai Call Girls Borivali Call On 9920725232 With Body to body massage w...
Vip Mumbai Call Girls Borivali Call On 9920725232 With Body to body massage w...
amitlee9823
 
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
gajnagarg
 
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
gajnagarg
 

Último (20)

Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Q4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationQ4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentation
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
 
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
 
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
 
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyHire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
 
8377087607, Door Step Call Girls In Majnu Ka Tilla (Delhi) 24/7 Available
8377087607, Door Step Call Girls In Majnu Ka Tilla (Delhi) 24/7 Available8377087607, Door Step Call Girls In Majnu Ka Tilla (Delhi) 24/7 Available
8377087607, Door Step Call Girls In Majnu Ka Tilla (Delhi) 24/7 Available
 
Vip Mumbai Call Girls Borivali Call On 9920725232 With Body to body massage w...
Vip Mumbai Call Girls Borivali Call On 9920725232 With Body to body massage w...Vip Mumbai Call Girls Borivali Call On 9920725232 With Body to body massage w...
Vip Mumbai Call Girls Borivali Call On 9920725232 With Body to body massage w...
 
Lecture 01 Introduction To Multimedia.pptx
Lecture 01 Introduction To Multimedia.pptxLecture 01 Introduction To Multimedia.pptx
Lecture 01 Introduction To Multimedia.pptx
 
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Etawah Escorts ☎️9352988975 Two shot with one girl (...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
 
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
 
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
 
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
 
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
Just Call Vip call girls dharamshala Escorts ☎️9352988975 Two shot with one g...
 

Responsive design