Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Responsive Web Design
Search
jos
May 02, 2016
Design
2
48
Responsive Web Design
National Central University Academy Program
jos
May 02, 2016
Tweet
Share
More Decks by jos
See All by jos
Firefox Marketplace Frontend
jostw
0
46
Finding Leaders with Maximum Spread of Influence through Social Networks
jostw
0
47
Other Decks in Design
See All in Design
Emmy's Artwork
mcksmith
0
180
越境するデザイン人材:デザイナーが社会資本となる世界へ
goodpatch
1
430
【MIXI MEETUP!ー TECH & DESIGN DAYー】【工数98%削減】Xでモンストを話題にせよ!生成AIの活用で日本トレンド6位を獲得した企画の設計&デザイン術
mixi_design
PRO
0
180
decksh object reference
ajstarks
2
1.5k
デザインシステムの「種」を使って、受託開発を加速させる
akane___ui
0
12k
自分たちがターゲットになりにくい業務アプリケーションのユーザビリティを担保する取り組み / Initiatives to ensure the usability of business applications that are difficult for us to target
hiromitsuuuuu
1
1.1k
そのUIコンポーネント、これから先も使えますか?―Headless UI,Open UI,グローバルデザインシステム
sakito
2
2.4k
新卒2年目デザイナーが、UX検定基礎にチャレンジした話
designer_no_pon
0
880
デザイナーがAIを使い倒して爆速プロダクト開発!社内ハッカソンでの取り組み紹介
abokadotyann
9
2.8k
Illustrator×Firefly 生成したイラストをベースにドット絵を作ってみよう!
connecre
1
190
OJTで学んだ 「心を動かす」ファシリテーション
saki822
1
180
AIエージェントが対話的なUIを返す!MCP−UIで変わるユーザ体験
daitasu
1
110
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
29
Everyday Curiosity
cassininazir
0
110
Building a Scalable Design System with Sketch
lauravandoore
463
34k
30 Presentation Tips
portentint
PRO
1
170
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
110
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
860
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
710
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
GraphQLとの向き合い方2022年版
quramy
50
14k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Transcript
RWD JOSEPH YEH May 2, 2016
ABOUT ME JOSEPH YEH 2
[email protected]
https://github.com/jostw https://www.linkedin.com/in/josyeh MOZILLA Software
Engineer MUZIK ONLINE Front End Engineer NTHU Master's Degree NCU Bachelor's degree
3 https://sourcemaking.com/design_patterns OUTLINE INCLUDING NOT INCLUDING Code Design Pattern http://sacsconsult.com.au/blog/code/
WHAT IS RWD RESPONSIVE WEB DESIGN 4 Responsive websites respond
to their environment.
5 http://blog.stationfour.com/an-illustrators-perspective-on-responsive-design/ WHAT IS RWD
6 http://www.yottaa.com/company/blog/mobile/marketers-and-content-writers-you-too-can-think-mobile-first/ WHY RESPONSIVE WEB DESIGN
7 http://www.developereconomics.com/websites-vs-web-apps/
WHY RESPONSIVE WEB DESIGN PROS 8 CONS - Performance -
User experience - Operates without internet - Device features - Development costs - Maintenance costs - Running on all platforms - Sharing on social media - Better SEO
HOW TO BE RESPONSIVE Progressive Enhancement vs. Graceful Degradation 9
HOW TO BE RESPONSIVE - Mobile first? - Depends on
your content and usecase - User experience first - How to reuse your component? 10 http://getbootstrap.com/components/
https://developers.google.com/web/fundamentals/design-and-ui/responsive/fundamentals/set-the-viewport VIEWPORT 11 A meta viewport tag gives the browser
instructions on how to control the page’s dimensions and scaling.
VIEWPORT <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> ...
12
GRID SYSTEM 13 http://www.imamuseum.org/blog/2010/02/16/ima-on-the-grid/ Grid systems are used for creating
page layouts through a series of rows and columns that house your content.
GRID SYSTEM - 12 columns - 960px 14 http://www.sitepoint.com/design-organized-websites-rapidly-with-960-grid/
FLUID GRID SYSTEM 15 http://www.collaborative.com/blog/getting-started-with-responsive-web-design/
FLUID GRID SYSTEM 16 http://www.objectliteral.com/css3-box-sizing/ * { box-sizing: border-box; }
BORDER BOX http://codepen.io/pen/KzxEOV
FLUID GRID SYSTEM 17 http://recorder.sayforward.com/category/person/luke-wroblewski
MEDIA QUERIES Media queries can be used to apply styles
based on device characteristics. 18 body { background-color: red; } @media (max-width: 320px) { body { background-color: orange; } } http://codepen.io/pen/vGzMJM
MEDIA QUERIES 19 @import url("mobile.css") (max-width: 320px); <html> <head> <link
href="style.css" rel="stylesheet"> <link href="mobile.css" rel="stylesheet" media="(max-width: 320px)"> </head> <body> ... Imported from a file.
https://www.google.com/design/spec/layout/responsive-ui.html MEDIA QUERIES 20 BREAKPOINTS
https://developers.google.com/web/fundamentals/design-and-ui/responsive/patterns/mostly-fluid DESIGN PATTERNS 21 MOSTLY FLUID
https://developers.google.com/web/fundamentals/design-and-ui/responsive/patterns/column-drop DESIGN PATTERNS 22 COLUMN DROP
https://developers.google.com/web/fundamentals/design-and-ui/responsive/patterns/layout-shifter DESIGN PATTERNS 23 LAYOUT SHIFTER
https://developers.google.com/web/fundamentals/design-and-ui/responsive/patterns/tiny-tweaks DESIGN PATTERNS 24 TINY TWEAKS
https://developers.google.com/web/fundamentals/design-and-ui/responsive/patterns/off-canvas DESIGN PATTERNS 25 OFF CANVAS
FLEXIBLE ELEMENT 26 Content should not rely on a particular
viewport width to render well. https://developers.google.com/web/fundamentals/design-and-ui/responsive/fundamentals/size-content-to-the-viewport
https://blog.intercom.io/why-cards-are-the-future-of-the-web/ FLEXIBLE ELEMENT 27
FLEXIBLE ELEMENT FLEXIBLE IMAGE 28 img { width: 100%; height:
auto; } div { background-size: 100%; } div { background-size: cover; }
https://en.wikipedia.org/wiki/Responsive_web_design FLEXIBLE ELEMENT 29
http://www.lydiabae.com/detail_dulux.html FLEXIBLE EVERYTHING 30
EXAMPLE 31 https://marketplace.firefox.com/
http://caniuse.com/#feat=flexbox ADVANCE 32 FLEXBOX
https://css-tricks.com/snippets/css/a-guide-to-flexbox/ ADVANCE 33 FLEXBOX
https://css-tricks.com/snippets/css/a-guide-to-flexbox/ ADVANCE 34 FLEXBOX
http://caniuse.com/#feat=srcset ADVANCE 35 SRCSET
ADVANCE 36 SRCSET <img src="logo.png" srcset="logo-2x.png 2x"> <img src="banner.png" srcset="banner-600.png
600w, banner-1200.png 1200w">
OPTIMIZATION Keep lines of text to a maximum of around
70 or 80 characters. 37 http://trentwalton.com/2012/06/19/fluid-type/
http://mashable.com/2013/01/03/tablet-friendly-website/ OPTIMIZATION 38 SPACING
https://github.com/twbs/bootstrap/issues/9235 OPTIMIZATION 39 BUTTON SIZE
http://mobileinputtypes.com/ OPTIMIZATION 40 INPUT TYPE <input type="email"> <input type="tel"> <input
type="number"> <input type="date">
OPTIMIZATION - Hover effect - Touch event - Browser support
- Performance - RESS: Responsive Design + Server Side Components http://www.slideshare.net/adamp3wang/pinkoi 41
CONCLUSION 42 - Core content - Be flexible - User
experience http://imgur.com/yQuXuMa
REFERENCE 43 https://developers.google.com/web/fundamentals/design-and-ui/responsive/ https://developers.google.com/webmasters/mobile-sites/mobile-seo/responsive-design http://design.google.com/resizer/ http://mediaqueri.es/ FRAMEWORKS http://getbootstrap.com/ http://foundation.zurb.com/ http://susy.oddbird.net/
44 https://www.pinterest.com/pin/574490496187451796/