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
Swwweet
June 17, 2012
Technology
6
660
Responsive Web Design: Everything has Changed
Presentation by @htmlboy at Drupal Developers Day Barcelona 2012.
Swwweet
June 17, 2012
Tweet
Share
More Decks by Swwweet
See All by Swwweet
Wonders from the Full Stack Fest website
swwweet
1
300
How to be the best web designer in the world.
swwweet
6
1.2k
Design for loading
swwweet
5
480
Mobile First: as difficult as doing things right
swwweet
222
9.1k
One Size Fits None
swwweet
12
830
One Size Fits None - From the Front 2013
swwweet
2
680
Responsively Responsive
swwweet
23
1.6k
La letra con píxel entra
swwweet
0
1.1k
The future of code
swwweet
4
540
Other Decks in Technology
See All in Technology
panicを深ぼってみる
kworkdev
PRO
1
110
2週に1度のビッグバンリリースをデイリーリリース化するまでの苦悩 ~急成長するスタートアップのリアルな裏側~
kworkdev
PRO
8
5.6k
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
10
120k
GraphRAG: What I Thought I Knew (But Didn’t)
sashimimochi
0
120
スクラムマスターの活動と組織からの期待のズレへの対応 / Dealing with the gap between Scrum Master activities and organizational expectations
pauli
2
980
大学教員が押さえておくべき生成 AI の基礎と活用例〜より効率的な教育のために〜
soh9834
1
170
Tech Blog執筆のモチベート向上作戦
imamura_ko_0314
0
620
Asset Centric な データ変換パイプラインの攻略法
recruitengineers
PRO
1
100
Redmineの意外と知らない便利機能 (Redmine 6.0対応版)
vividtone
0
140
やっちゃえ誤自宅Nutanix
yukiafronia
0
330
横断SREの立ち上げと、AWSセキュリティへの取り組みの軌跡
rvirus0817
3
3.6k
実践!生成AIのビジネス活用 / How to utilize Generative AI in your own business
gakumura
1
190
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
34
1.6k
Done Done
chrislema
182
16k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
20
2.4k
How STYLIGHT went responsive
nonsquared
96
5.3k
Writing Fast Ruby
sferik
628
61k
Visualization
eitanlees
146
15k
Building Applications with DynamoDB
mza
93
6.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Statistics for Hackers
jakevdp
797
220k
GitHub's CSS Performance
jonrohan
1030
460k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
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