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
760
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
400
How to be the best web designer in the world.
swwweet
6
1.3k
Design for loading
swwweet
5
590
Mobile First: as difficult as doing things right
swwweet
225
10k
One Size Fits None
swwweet
12
930
One Size Fits None - From the Front 2013
swwweet
2
780
Responsively Responsive
swwweet
23
1.7k
La letra con píxel entra
swwweet
0
1.2k
The future of code
swwweet
4
670
Other Decks in Technology
See All in Technology
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
250
ソフトウェアサプライチェーンの構造的リスクとコンテナ環境の保護
kyohmizu
5
880
dbt と Snowflake と tag
kevinrobot34
1
160
コネクションをピン留めさせずに SELECTクエリのタイムアウトを設定した話
codmoninc
0
210
AI画像認識を活用したゲーム内決済処理検証の自動化
gree_tech
PRO
0
330
地震情報アプリを作ってみた
yama3133
1
110
AIに持続⼒を与える 判断の⻑期記憶設計
eiei114
1
670
What's new in Go 1.27?
ciarana
0
310
現場回帰したデータエンジニアが考える AI 時代のキャリア開発 / Career Development in the Age of AI Perspectives from a Hands-on Data Engineer
medley
0
310
強化学習「理論」入門
enakai00
3
3.6k
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
150
MIXIで活躍できるエンジニアを 若手社員目線で考えてみる
mixi_engineers
PRO
0
140
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
500
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
The Language of Interfaces
destraynor
162
27k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
430
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
The Curious Case for Waylosing
cassininazir
1
480
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
41k
HDC tutorial
michielstock
2
810
Become a Pro
speakerdeck
PRO
31
6.2k
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