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 Web Design: Everything has Changed
Search
Swwweet
June 17, 2012
Technology
790
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
Transcript
62 slides
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
More Decks by Swwweet
See All by Swwweet
Wonders from the Full Stack Fest website
swwweet
1
430
How to be the best web designer in the world.
swwweet
6
1.4k
Design for loading
swwweet
5
610
Mobile First: as difficult as doing things right
swwweet
225
10k
One Size Fits None
swwweet
12
960
One Size Fits None - From the Front 2013
swwweet
2
800
Responsively Responsive
swwweet
23
1.7k
La letra con píxel entra
swwweet
0
1.3k
The future of code
swwweet
4
700
Other Decks in Technology
See All in Technology
Kiro Crew の Conductor mode: 1 つのチャットに渡したゴールを、コンダクターがワーカーに分けて任せる
inariku
PRO
1
150
Kiro Enterprise Management: 管理者が 1 か所で決め、全員の Kiro に届ける
inariku
PRO
1
190
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
170
AI時代に問い直す「プロダクションミーティング」の価値 〜チームでサービスの信頼性を高める取り組み〜
mackerelio
0
290
サービスチーム全員で2年半続けているドメインモデリングのリアル / domain-modeling-with-the-whole-service-team
kaminashi
0
310
テスト自動化の先、テスト自律化に向けて
mineo_matsuya
4
1.7k
ポケモンバトルのAIエージェント
koji_kawamura
0
340
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
2
280
DevOps Agent に Athena で アカウント横断の調査をさせてみた + Config の高度なクエリ便利だよ!って話 / #opsmethod 6
masahirokawahara
0
130
Claude Certified Developer – Professional 試験対策
shinoisa
0
350
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
6
3.1k
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
4.2k
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
400
Claude Code のすすめ
schroneko
67
230k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Abbi's Birthday
coloredviolet
5
11k
Un-Boring Meetings
codingconduct
0
520
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
How to train your dragon (web standard)
notwaldorf
96
6.9k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
1
250
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
RailsConf 2023
tenderlove
30
1.6k
Exploring anti-patterns in Rails
aemeredith
4
590
Chasing Engaging Ingredients in Design
codingconduct
0
410