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 webdesign - webdesign done right
Search
Sybren Wartna
January 09, 2012
Technology
3
300
Responsive webdesign - webdesign done right
Sybren Wartna
January 09, 2012
Tweet
Share
More Decks by Sybren Wartna
See All by Sybren Wartna
Typography on the web
syb
0
79
Everything can break
syb
1
94
Werken in stijl
syb
0
93
Other Decks in Technology
See All in Technology
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
150
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.3k
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
150
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
350
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
4
1.8k
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
210
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
180
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
170
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
Design in an AI World
tapps
0
140
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Abbi's Birthday
coloredviolet
1
4.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Everyday Curiosity
cassininazir
0
130
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
63
Navigating Weather and Climate Data
rabernat
0
100
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
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