Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
440
ECMAScript 6 - part 2
sayanee
1
310
Minimalist Designer behind the curious Developer
sayanee
8
460
Responsive Web Design for Beginners
sayanee
9
1k
Travel to Balkans + Hungary
sayanee
2
240
Styling with SASS
sayanee
9
670
Other Decks in Technology
See All in Technology
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
0
1k
自分で立ててみるLLMサービス
y_sera15
0
150
転んだ話が背中を預ける理由になる / A_story_about_falling_down_gives_you_a_reason_to_watch_each_other_s_backs.pdf
pauli
3
340
予測不能な実行エージェントを安全にサクッと試せるサンドボックス環境の話
sansantech
PRO
0
140
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
240
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
110
生成AIで高い生産性を求められて、 悩み、乗り越えた話
mot_techtalk
2
150
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
240
自作バイナリを動かす「入口」8選
puhitaku
1
1.2k
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
7
2.5k
購入ドメインでの課題と取り組み
ykagano
0
150
ファミコンでPHPを動かす / PHP on the Famicom side b
tomzoh
0
140
Featured
See All Featured
Between Models and Reality
mayunak
4
490
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
290
My Coaching Mixtape
mlcsv
0
340
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
620
sira's awesome portfolio website redesign presentation
elsirapls
0
450
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
The Pragmatic Product Professional
lauravandoore
37
7.5k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
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