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
87
Everything can break
syb
1
110
Werken in stijl
syb
0
110
Other Decks in Technology
See All in Technology
内製アプリとClaudeスキルのセキュリティチェック、 Backlogの課題で回しています。
ayaka_egaaa
0
150
Sinatra on PicoRuby ローカルでセルフホスト
bash0c7
0
110
サボる子はいねぇがー!AgentCoreハーネスの脆弱性に学ぶ、エージェントの入力バリデーション
iwamot
PRO
5
300
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
1
210
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.2k
増え続けるプロダクトの品質をどう担保するか。ProductSpecとTypeScriptによる取り組み
joere
3
1.1k
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
180
複雑な業務システムを高速でつくるため、チーム全員をつくれる人へ
ayakurabuchi
0
140
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
1
7.4k
In-Context Learning再入門。ICLの勾配降下的解釈の研究動向を追ってみる。
dai08srhg
1
710
企画からFlutter実装まで、1つの機能を一貫して開発したプロセスと成果物
khiroyuki1003
1
160
HQ駆動開発で最高のAI-Contextを作ろう
sansantech
PRO
1
110
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Making the Leap to Tech Lead
cromwellryan
135
10k
The SEO Collaboration Effect
kristinabergwall1
1
620
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
560
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
610
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
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