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 webdesign - webdesign done right
Search
Sybren Wartna
January 09, 2012
Technology
310
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Responsive webdesign - webdesign done right
Sybren Wartna
January 09, 2012
More Decks by Sybren Wartna
See All by Sybren Wartna
Typography on the web
syb
0
86
Everything can break
syb
1
110
Werken in stijl
syb
0
100
Other Decks in Technology
See All in Technology
今さら理解するウェブフォントver.2026
takanorip
3
770
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
120
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
150
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
340
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
200
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
6
4.6k
go-sqletch
moznion
0
140
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
Featured
See All Featured
Mind Mapping
helmedeiros
1
400
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
Into the Great Unknown - MozCon
thekraken
41
2.8k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Utilizing Notion as your number one productivity tool
mfonobong
4
620
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Transcript
RESPONSIVE WEBDESIGN webdesign done right
Sybren Wartna
None
WAAROM RESPONSIVE?
devices, devices, devices
wie heeft geen smartphone?
mobile first ‣ markt groeit sterk ‣ meer mogelijkheden ‣
focus op broodnodige
let’s make a mobile app
telefoons niet in verhouding
oh, en we willen ook iets met tablets
None
er is geen mobile web
er is één web
en dat is responsive
RESPONSIVE VOORBEELDEN
< film van hicksdesign.co.uk >
media queries flexibel grid flexibele afbeeldingen
garrettwinder.com
None
None
None
werkenbijmirabeau.nl
None
None
None
sony.com
None
None
None
staffanstorp.se
None
None
None
simplebits.com
None
None
None
HOE WORD JE RESPONSIVE?
media queries flexibel grid flexibele afbeeldingen
flexibel grid
wat doet een grid?
‣ orde scheppen ‣ organiseren van elementen op de pagina
‣ groeperen van elementen ‣ visuele connecties creëren wat doet een grid?
target ÷ context = result
target ÷ context = result doel in pixels (inclusief marges)
ouderelement (parent)
None
None
960px 60 20 60 20 60 20 300px
300 ÷ 960 = 0,3125 .advertisement { width: 31,25% }
media queries
mediawat? ‣ type medium ‣ eigenschappen van medium ‣ nesten
van styles ‣ overruling
‣ braille ‣ embossed ‣ handheld ‣ print ‣ projection
‣ screen ‣ speech ‣ tty ‣ tv typen media
handheld wordt niet (meer) voor mobiele telefoons gebruikt
‣ breedte / hoogte device ‣ breedte / hoogte viewport
‣ oriëntatie van device ‣ kleuren eigenschappen van media
@media screen and (max-device-width: 480px) { /* specifieke CSS */
}
@media print and (orientation:landscape) and (monochrome) { }
Opera Mini Internet Explorer Blackberry
hoe oplossen? ‣ mobile first html + css ‣ modernizr
‣ jQuery plugins
iPhone iPhone 4+
@media screen and (-webkit-min-device-pixel-ratio: 2) { /* retina afbeeldingen */
}
Modernizr.load([{ test : Modernizr.mq(‘(-webkit-min- device-pixel-ratio: 2)’), yep : [‘retina.css’], nope
: [‘images.css’] }]);
modernizr ‣ touch screen ‣ CSS3 animations ‣ CSS3 transform
what’s next? ‣ ondersteuning tv’s ‣ ondersteuning beamers ‣ meer
CSS3 ondersteuning
flexibele afbeeldingen
.advertisement img { max-width: 100%; } afbeelding schaalt mee
<img src="small.r.jpg" data- fullsrc="large.jpg"> ‘mobile’ first
services ‣ adaptive-images.com ‣ github.com/filamentgroup/Responsive-Images
moeilijkheden ‣ inladen van afbeeldingen ‣ schalen in browsers ‣
background sizing
< film van hicksdesign.co.uk >
WERKWIJZE VOOR RESPONSIVE
projectaanpak
None
‣ samenwerken ‣ iteratief werken ‣ continue testen agile /
scrum
content first ‣ wat is er echt nodig? ‣ focus
op toptaken ‣ tekst ‣ afbeeldingen
niet ontwerpen in photoshop ‣ content first ‣ functioneel ontwerp
‣ grid maken ‣ schetsen
testen
bookmarklet ‣ resize window bookmarklet ‣ http://tiny.cc/resize-bookmarklet ‣ niet dé
oplossing
zorg voor devices
must read
WEBDESIGN DONE RIGHT twitter: @NLife - http://tiny.cc/webdesign-done-right