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 Web Design: Everything has Changed
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Swwweet
June 17, 2012
Technology
740
6
Share
Responsive Web Design: Everything has Changed
Presentation by @htmlboy at Drupal Developers Day Barcelona 2012.
Swwweet
June 17, 2012
More Decks by Swwweet
See All by Swwweet
Wonders from the Full Stack Fest website
swwweet
1
380
How to be the best web designer in the world.
swwweet
6
1.3k
Design for loading
swwweet
5
560
Mobile First: as difficult as doing things right
swwweet
225
10k
One Size Fits None
swwweet
12
910
One Size Fits None - From the Front 2013
swwweet
2
750
Responsively Responsive
swwweet
23
1.7k
La letra con píxel entra
swwweet
0
1.2k
The future of code
swwweet
4
630
Other Decks in Technology
See All in Technology
「決め方」の渡し方 / How to hand over the "decision-making process"
pauli
8
1.3k
New CBs New Challenges
ysuzuki
1
160
ASTのGitHub CopilotとCopilot CLIの現在地をお話しします/How AST Operates GitHub Copilot and Copilot CLI
aeonpeople
1
210
Proxmox超入門
devops_vtj
0
130
Kubernetes基盤における開発者体験 とセキュリティの両⽴ / Balancing developer experience and security in a Kubernetes-based environment
chmikata
0
220
主催・運営として"場をつくる”というアウトプットのススメ
_mossann_t
0
130
あるアーキテクチャ決定と その結果/architecture-decision-and-its-result
hanhan1978
2
560
自己組織化を試される緑茶ハイを求めて、今日も全力であそんで学ぼう / Self-Organization and Shochu Green Tea
naitosatoshi
0
310
ある製造業の会社全体のAI化に1エンジニアが挑んだ話
kitami
2
690
終盤で崩壊させないAI駆動開発
j5ik2o
0
120
シン・リスコフの置換原則 〜現代風に考えるSOLIDの原則〜
jinwatanabe
0
160
Hooks, Filters & Now Context: Why MCPs Are the “Hooks” of the AI Era
miriamschwab
0
130
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Fireside Chat
paigeccino
42
3.9k
Skip the Path - Find Your Career Trail
mkilby
1
100
Speed Design
sergeychernyshev
33
1.6k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Marketing to machines
jonoalderson
1
5.1k
Darren the Foodie - Storyboard
khoart
PRO
3
3.2k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
320
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Transcript
RESPoNSIVE WEB DESIGN RESPoNSIVE WEB DESIGN RESPoNSIVE WEB DESIGN everything
has changed Javier Usobiaga #DrupalDevDays
@htmlboy @htmlboy @htmlboy I work at Swwweet.com
WHAT IS responsive web design? WHAT IS responsive web design?
WHAT IS respoNsive web design?
WHAT IS THE web? WHAT IS THE web? WHAT IS
THE web?
CONTROL CONTROL CONTROL a tale of obsession
1990s 1990s 1990s the web is 800px wide
2000s 2000s 2000s the web is 1024px wide
2007 2007 2007 + the web is 1024px & 320px
wide
2010 2010 2010 + + the web is 1200px &
320px & 768px wide
2012 2012 2012 + + the web is 1200px &
320px & 768px & 1800px wide +
2012 2012 2012 + + 320px? +
2012 2012 2012 the web is 256px & 320px &
426px & 480px & 560px & 640px & 768px & 800px & 960px & 1024px & 1280px & 1440px & 1600px & 1800px… + + + +
ENOUGH! ENOUGH! ENOUGH!
ENOUGH! ENOUGH! ENOUGH! it’s time to accept the web’s nature
THE WEB IS THE WEB IS THE WEB IS fluid
universal multidevice
first act RESPoNSIVE WEB DESIGN RESPoNSIVE WEB DESIGN RESPoNSIVE WEB
DESIGN
2012.dconstruct.org
mediaqueri.es
BUT HOW? BUT HOW? BUT HOW? flexible grids flexible media
@media queries
GRIDS GRIDS GRIDS 16% 16% 16% 16% 16% 16% 16%
16%
target context ÷ result GRIDS GRIDS GRIDS
.grid_3{width:300px} 300 / 960 = 0,2340 .grid_3{width:23.40%} GRIDS GRIDS GRIDS
MEDIA MEDIA MEDIA img, video{ max-width:100% }
MEDIA QUERIES MEDIA QUERIES MEDIA QUERIES @media screen and (max-width:320px){
.side_column{ width: 100%; float: none; } }
MEDIA QUERIES MEDIA QUERIES MEDIA QUERIES change the layout change
the styles increase the font size
RESPoNSIVE challenges RESPoNSIVE challenges Responsive challenges second act
Navigation Navigation Navigation
Navigation Navigation Navigation menu contact work about contact work about
bit.ly/rwd-nav
LAYOUT LAYOUT layout 1 2 3 4 6 5
3 2 LAYOUT LAYOUT layout 1 3 1 2 4
5 6
LAYOUT LAYOUT layout
IMAGES IMAGES images wide screens high-res screens small screens
IMAGES IMAGES images bigger images javascript loading sever-side solutions
bit.ly/rwd-images
IMAGES IMAGES images CSS3 SVG icon fonts
workflow workflow workflow third act
WATERFALL WATERFALL WATERFALL UX / IA DESIGN VISUAL DESIGN DEV
BOSS
Hi, I want a website… WATERFALL WATERFALL WATERFALL
Sure thing! WATERFALL WATERFALL WATERFALL
First things first. We’ll need some wireframes to set the
structure. WATERFALL WATERFALL WATERFALL
Some color and shiny things… WATERFALL WATERFALL WATERFALL
A bit of CSS, a dash of JS... And voilà,
our job here is done! WATERFALL WATERFALL WATERFALL
Er... guys... WATERFALL WATERFALL WATERFALL
FAIL fail Fail
responsive responsive Responsive
ten tips ten tips ten tips fourth act
1. Communication Between the whole team, during the whole project.
2. Design & dev, together A lot of decissions have
to be taken along the way.
3. Micro-deliveries Client takes part actively and makes decisions.
4. Content first Make an inventory of the content and
find its limitations.
5. Find the critical points Navigation, images, ads, information hierarchy…
6. Mobile first The small screen is the first limit.
7. Reference sketches Make basic sketches to help with the
hierarchy of the content.
8. Prototype fast The sooner you start coding your HTML,
the better.
9. Design in the browser Make design decisions as you
see the result on the browser.
10. All screens at once When developing, always think about
all screen sizes.
TO RECAP TO RECAP TO RECAP
TO RECAP TO RECAP TO RECAP you can’t control the
web
TO RECAP TO RECAP TO RECAP you can’t control the
web RWD is a viable solution
TO RECAP TO RECAP TO RECAP you can’t control the
web RWD is a viable solution if we change our mentality
thanks! thanks! thanks! Javier Usobiaga · http://Swwweet.com · @htmlboy