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
78
Everything can break
syb
1
93
Werken in stijl
syb
0
92
Other Decks in Technology
See All in Technology
ゼロコード計装導入後のカスタム計装でさらに可観測性を高めよう
sansantech
PRO
1
130
AIエージェントによる業務効率化への飽くなき挑戦-AWS上の実開発事例から学んだ効果、現実そしてギャップ-
nasuvitz
2
450
Behind Postgres 18: The People, the Code, & the Invisible Work | Claire Giordano | PGConfEU 2025
clairegiordano
0
110
NLPコロキウム20251022_超効率化への挑戦: LLM 1bit量子化のロードマップ
yumaichikawa
2
400
GraphRAG グラフDBを使ったLLM生成(自作漫画DBを用いた具体例を用いて)
seaturt1e
1
120
From Natural Language to K8s Operations: The MCP Architecture and Practice of kubectl-ai
appleboy
0
180
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
ソースを読む時の思考プロセスの例-MkDocs
sat
PRO
1
150
[2025年10月版] Databricks Data + AI Boot Camp
databricksjapan
1
250
webpack依存からの脱却!快適フロントエンド開発をViteで実現する #vuefes
bengo4com
3
3.1k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
知覚とデザイン
rinchoku
1
520
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
Building Adaptive Systems
keathley
44
2.8k
Mobile First: as difficult as doing things right
swwweet
225
10k
Gamification - CAS2011
davidbonilla
81
5.5k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Become a Pro
speakerdeck
PRO
29
5.6k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
How to train your dragon (web standard)
notwaldorf
97
6.3k
YesSQL, Process and Tooling at Scale
rocio
173
15k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
930
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