Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Responsive Web Design
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sayanee
May 15, 2012
Technology
310
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Responsive Web Design
Sayanee
May 15, 2012
More Decks by Sayanee
See All by Sayanee
Podcasting with Jekyll
sayanee
1
1k
Rails API
sayanee
5
580
Learning with Open Source
sayanee
3
330
ECMAScript 6 - part 1
sayanee
3
430
ECMAScript 6 - part 2
sayanee
1
300
Minimalist Designer behind the curious Developer
sayanee
8
450
Responsive Web Design for Beginners
sayanee
9
1k
Travel to Balkans + Hungary
sayanee
2
240
Styling with SASS
sayanee
9
660
Other Decks in Technology
See All in Technology
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.2k
Microsoft MVP プログラムを紹介するから目指す人増えてくれ
tsubakimoto_s
0
140
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
5k
[ホンマでっか SRE] あなたはなぜ SRE に?
_awache
0
350
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
77k
RapidCopy2 Matrix I/Oエンジンによるファイルコピーソフトウェアの設計と実装
kengosawa2
1
480
Cloudflare製品を活用した AIガバナンス実践入門 / AI governance with Cloudflare Service
delta_tech
1
120
フィジカルAIの知識ゼロの僕でも AIを使えばここまでできた
tatsuya1970
0
200
Distributed Transactions Under Fire: Building a Zero-Oversell Flash Sale Platform with Amazon Aurora DSQL
yama3133
0
100
:syncing_time:
sksat
3
840
アクセスキーが漏れた日にやるべきこと- 無効化の先にある本当の対応
kazzpapa3
0
360
ブラウザで変わるID連携(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
350
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Mind Mapping
helmedeiros
PRO
1
340
How GitHub (no longer) Works
holman
316
150k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
490
Statistics for Hackers
jakevdp
799
230k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
450
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
Technical Leadership for Architectural Decision Making
baasie
3
540
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
390
Leo the Paperboy
mayatellez
8
2.2k
Transcript
RESPONSIVE WEB DESIGN codes + slides Tuesday, May 15, 12
@sayanee_ Tuesday, May 15, 12
RESPONSIVE WEB DESIGN Tuesday, May 15, 12
RESPONSIVE WEB DESIGN adaptive fluid flexible flowing Tuesday, May 15,
12
RESPONSIVE WEB DESIGN adaptive fluid flexible flowing device-agnostic optimised-viewing Tuesday,
May 15, 12
EXAMPLES Media Queries Happy Cognition Simple Bits Responsive 2010 Duster
Theme Shelf Foundry Theme Tileables Mr. Simon Colly Tuesday, May 15, 12
TOOLS Tuesday, May 15, 12
TOOLS Browser Tuesday, May 15, 12
TOOLS Browser Text Editor Tuesday, May 15, 12
TOOLS Browser Text Editor Simulator Tuesday, May 15, 12
TOOLS Browser Text Editor Simulator Tuesday, May 15, 12
TOOLS Browser Text Editor Simulator Coding Tuesday, May 15, 12
#1 fluid layout #2 media queries #3 flexible media Tuesday,
May 15, 12
#1 fluid layout Tuesday, May 15, 12
#1 fluid layout 1280px Tuesday, May 15, 12
#1 fluid layout 1280px 960px Hola! Travel with me devices
footer Tuesday, May 15, 12
#1 fluid layout 1280px 960px Hola! Travel with me 600px
devices main footer Tuesday, May 15, 12
#1 fluid layout 1280px 960px Hola! Travel with me 600px
300px devices main sidebar footer Tuesday, May 15, 12
#1 fluid layout think in pixels percentages target / context
= result Tuesday, May 15, 12
#1 fluid layout 1280px 960px Hola! Travel with me 600px
300px devices main sidebar footer Tuesday, May 15, 12
#1 fluid layout 1280px 960px Hola! Travel with me 600px
300px devices main sidebar footer /1280px = 75% / 960px= 62.5% /960px = 31.25% 960px / 960px = 100% 960px / 960px = 100% Tuesday, May 15, 12
#2 media queries min-width landscape 1024px portrait 768px 1280px landscape
960px portrait 640px four layouts 1200px 1024px 768px 600px Tuesday, May 15, 12
#2 media queries 1200px 1024px 768px 600px Tuesday, May 15,
12
#2 media queries 1200px 1024px 768px 600px @media screen and
(max-width: ){} /* desktop */ in style.css : @media screen and (max-width: ){} /* iPad landscape */ @media screen and (max-width: ){} /* iPad portrait */ @media screen and (max-width: ){} /* iPhone */ Tuesday, May 15, 12
#2 media queries 1200px 1024px 768px 600px @media screen and
(max-width: ){} /* desktop */ in style.css : @media screen and (max-width: ){} /* iPad landscape */ @media screen and (max-width: ){} /* iPad portrait */ @media screen and (max-width: ){} /* iPhone */ in index.html, inside <head> : <meta name="viewport" content="width = device-width" /> Tuesday, May 15, 12
#3 flexible media img, embed, object, video { max-width:100% }
Tuesday, May 15, 12
#3 flexible media flexible heading using fittext.js Tuesday, May 15,
12
OTHER RESOURCES Blog posts: 1. Think Vitamin 2. A-List Apart
3. Smashing Magazine 4. Fluid Images 5. Web Designer Wall 6. CSS Tricks 7. Six Revisions 8. fittext.js Books: 1. by Ethan Marcotte Videos: 1. Nettuts Tuesday, May 15, 12
codes + slides Tuesday, May 15, 12
@sayanee_ Tuesday, May 15, 12