SlideShare ist ein Scribd-Unternehmen logo
1 von 83
Downloaden Sie, um offline zu lesen
Responsive Webdesign
   or: "webdesign, done right"

        by Tom Hermans - tomhermans.com
                 @tomhermans
about me
designer / developer / wp guy
free-lancing
Sony Europe - UX - e-Platform

reach me via:
tomhermans.com
@tomhermans
design
A plan or drawing produced
to show the look and function or workings
of a building, garment, or other object
(before it is built or made.)
print
card
packaging
nicer packaging
car wrap
fashion
body paint
what do these designs
all have in common ?

great slide pic to pose a question
to the audience i guess
all applied on a
     canvas
canvas
    physical size
     constraints

power to the designer
how does the web canvas look like?
web pages are elastic
in both horizontal and vertical dimensions
               in a way that
           paper pages are not.
terminology
“masthead”
“whitespace”
“leading”
“fold”

all derived from print design
“The control which designers know in the print
medium, and often desire in the web medium,
is simply a function of the limitation of the
printed page. We should embrace the fact that
the web doesn’t have the same constraints, and
design for this flexibility. But first, we must
“accept the ebb and flow of things.“

- John Allsopp
“Webdesign is responsive design.
Responsive Webdesign
is web design,
done right.”
           - Andy Clarke
WTF should you care ?
mobile is growing..
FAST
Solutions
native app
web app
mobile website
responsive webdesign
what to choose ?
mmm.. depends..
native ?
Yes, if:
specific device functionality

camera
gyrometer
gps
etc..
native app : issues
- extra build
- extra cost
- many platforms
- even more extra cost
- sharing content
- findability
- walled garden
- duplicate content management
- there are pro's too..
mobile website?
optimized, but not really
mobile website : issues
- redirects
- urls (m. vs www)
- sharing (desktop to mobile and viceversa)
- duplicate content
- often catering for certain brands / types / OS
- duplicate content - duplicate mgmt
- different devices
- expensive and unsatisfying
responsive
a site that is able to adapt to the context
in which it is being viewed.
99 viewports - iPhone's just 1
viewports ?
smartphones
feature phones
tablets
desktops

future ?
benefits responsive webdesign
1 website
1 content
1 url
what's so responsive about that?
1 codebase

diff. functionality

diff. layout
examples
cool
how do you do that ?
rwd consists of
flexible grid
flexible images and media
media queries
stop thinking in pixels
  think proportional
 think percentages
think modular
stop thinking fixed width
960 is dead - 100%
flexible design
make no assumptions
about a browser window's width
media queries
check for - condition
  usually width (also pixel-ratio,orientation)

apply different styles

breakpoints
media queries
around since css 2.1 - media type

<link rel="stylesheet" type="text/css" href="core.css"
  media="screen" />
<link rel="stylesheet" type="text/css" href="print.css"
  media="print" />
media queries since CSS3
<link rel="stylesheet" type="text/css"
  media="screen and (max-device-width: 480px)"
  href="phone.css" />




if screen width < 480px, load phone.css


more media features: http://www.w3.org/TR/css3-mediaqueries/#media1
<link rel="stylesheet" type="text/css"
  media="screen and (min-device-width: 480px)"
  href="desktop.css" />




if screen width > 600px, load desktop.css
media queries in css file
@media screen and (max-device-width: 480px){
  .column {
     float: none;
  }
   .logo {
      margin: 0 auto;
   }
}
media queries summary
       if media query test is met
                     >
           css will be applied
media queries itself
breakpoints ?
common breakpoints
320
480
600
768
960
1200
or when the design starts to look bad
  responsivepx.com
mobile first
apply basic formatting to page

type
colors
margins
mobile first pt.2
media queries for bigger screens
progressive enhancement

> less capable browsers will always be served
a readable site
total width ?
width:100%
max-width 1120, 1600, 1920 ..

dependent on:
- content
- modules
- design proportions
grid
helps to build modular
forget 960
look at responsive grids
build your own!
tools
modular grid extension
     modulargrid.org/#app
responsinator
     responsinator.com
'my' best practice
use a max-width
use a flexible width
design fluid modules
mobile first
serve basic stylesheet first

type
colors
margins
progressive enhancement
add css through mediaqueries

> less capable browsers will always be served
a readable site
build your own grid


    (target % context) * 100 = result



720 in 940
76,595744680851063829787234042553 %

1 col (55 in 1200) :
4,5833333333333333333333333333333 %
flexible modules

easy to "place" in the layout

order in DOM becomes even more important

left to right = top to bottom (mostly)
fluid media
.entry-content img, .widget img
{ max-width: 100%; }

embed, object, video {
max-width: 100%;
height: auto;
}
more (good) practices
try using CSS3 and svg
polyfills
   css3-mediaqueries-js
   respond.js
   modernizr

new developments (cssgrid, flexbox,..)
some resources
responsive webdesign - ethan marcotte
(abookapart)

alistapart.com/articles/responsive-web-design

mediaqueri.es
wordpress
twentyeleven (and successors)
many others, but be aware..
premium is often not. (in general imho)
bottomline
content should be accessible

put user first - think about User eXperience
mobile users will do
       anything and everything
        desktop users will do,
provided it's presented in a usable way.

                                - brad frost
the device can't be an obstacle
think future friendly
thanks.




    questions:
  @tomhermans
tomhermans.com
more resources
the whole argument on media
https://github.com/filamentgroup/Responsive-Images
http://adaptive-images.com/
http://unstoppablerobotninja.com/entry/fluid-images
snippet - media reporter
.site-title:before {
   position: absolute;
   top:0;
   content: "768 and up";
   background-color: hsla(150,60%,
   40%,.7);
   color: white; font-size: 16px;
   padding: 5px 10px;
}
> handy to see which mq is active

Weitere ähnliche Inhalte

Was ist angesagt?

Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Bootstrap Creative
 

Was ist angesagt? (20)

Responsive Web Design - but for real!
Responsive Web Design - but for real!Responsive Web Design - but for real!
Responsive Web Design - but for real!
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
6 key learnings for responsive webdesign
6 key learnings for responsive webdesign6 key learnings for responsive webdesign
6 key learnings for responsive webdesign
 
Specialise or cross-skill
Specialise or cross-skillSpecialise or cross-skill
Specialise or cross-skill
 
Web design and development trends
Web design and development  trendsWeb design and development  trends
Web design and development trends
 
Strategy for a Responsive UX
Strategy for a Responsive UXStrategy for a Responsive UX
Strategy for a Responsive UX
 
Beyond Responsive Web Design
Beyond Responsive Web DesignBeyond Responsive Web Design
Beyond Responsive Web Design
 
The future of BYU web design
The future of BYU web designThe future of BYU web design
The future of BYU web design
 
Responsive UI using CSS Media Query
Responsive UI using CSS Media QueryResponsive UI using CSS Media Query
Responsive UI using CSS Media Query
 
Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016Responsive Web Design for Universal Access 2016
Responsive Web Design for Universal Access 2016
 
Let's get accessible!
Let's get accessible!Let's get accessible!
Let's get accessible!
 
Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
Web Development Tutorial Workshop for Beginners - Learn Responsive Web Design...
 
Bootstrap 4 Online Training Course Book Sample
Bootstrap 4 Online Training Course Book SampleBootstrap 4 Online Training Course Book Sample
Bootstrap 4 Online Training Course Book Sample
 
Ui and ux principles
Ui and ux principlesUi and ux principles
Ui and ux principles
 
Responsive Web Design Tutorial PDF for Beginners
Responsive Web Design Tutorial PDF for BeginnersResponsive Web Design Tutorial PDF for Beginners
Responsive Web Design Tutorial PDF for Beginners
 
How to Act Like an Agency within a Company: UX for the Enterprise
How to Act Like an Agency within a Company: UX for the EnterpriseHow to Act Like an Agency within a Company: UX for the Enterprise
How to Act Like an Agency within a Company: UX for the Enterprise
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 

Andere mochten auch

Google Its Not Just A Search Engine
Google Its Not Just A Search EngineGoogle Its Not Just A Search Engine
Google Its Not Just A Search Engine
Karen Brooks
 

Andere mochten auch (19)

Infocon Bangladesh 2016
Infocon Bangladesh 2016Infocon Bangladesh 2016
Infocon Bangladesh 2016
 
Logo design fundamentals with webguru india
Logo design fundamentals with webguru indiaLogo design fundamentals with webguru india
Logo design fundamentals with webguru india
 
Exclusive Christmas Treat from WebGuru
Exclusive Christmas Treat from WebGuruExclusive Christmas Treat from WebGuru
Exclusive Christmas Treat from WebGuru
 
GoDaddy Overview - August 2015
GoDaddy Overview - August 2015GoDaddy Overview - August 2015
GoDaddy Overview - August 2015
 
Top Magento Websites Beautifully Rendered by webguru-india.com
Top Magento Websites Beautifully Rendered by webguru-india.comTop Magento Websites Beautifully Rendered by webguru-india.com
Top Magento Websites Beautifully Rendered by webguru-india.com
 
WebGuru Builds Professional Websites For Small Businesses
WebGuru Builds Professional Websites For Small BusinessesWebGuru Builds Professional Websites For Small Businesses
WebGuru Builds Professional Websites For Small Businesses
 
Blogs and Wikis in Science teaching
Blogs and Wikis in Science teachingBlogs and Wikis in Science teaching
Blogs and Wikis in Science teaching
 
Run Your Business Like a Bike Shop
Run Your Business Like a Bike ShopRun Your Business Like a Bike Shop
Run Your Business Like a Bike Shop
 
Namecheap vs Godaddy
Namecheap vs GodaddyNamecheap vs Godaddy
Namecheap vs Godaddy
 
End Point Security - K7
End Point Security - K7End Point Security - K7
End Point Security - K7
 
Digital Presence: Websites and SEO (GoDaddy)
Digital Presence: Websites and SEO (GoDaddy)Digital Presence: Websites and SEO (GoDaddy)
Digital Presence: Websites and SEO (GoDaddy)
 
Kompass brandbook
Kompass brandbookKompass brandbook
Kompass brandbook
 
The Handy Tool Kit For Launching & Measuring a Remarkable Campaign
The Handy Tool Kit For Launching & Measuring a Remarkable CampaignThe Handy Tool Kit For Launching & Measuring a Remarkable Campaign
The Handy Tool Kit For Launching & Measuring a Remarkable Campaign
 
Your Complete Guide to Instagram Marketing + Special Tool Kit!
Your Complete Guide to Instagram Marketing + Special Tool Kit! Your Complete Guide to Instagram Marketing + Special Tool Kit!
Your Complete Guide to Instagram Marketing + Special Tool Kit!
 
Everybody is connected with the brand
Everybody is connected with the brandEverybody is connected with the brand
Everybody is connected with the brand
 
Investment Incentives Benefits in Israel
Investment Incentives Benefits in IsraelInvestment Incentives Benefits in Israel
Investment Incentives Benefits in Israel
 
Google Its Not Just A Search Engine
Google Its Not Just A Search EngineGoogle Its Not Just A Search Engine
Google Its Not Just A Search Engine
 
SMEs 61st business climate survey - July 2015
SMEs 61st business climate survey - July 2015SMEs 61st business climate survey - July 2015
SMEs 61st business climate survey - July 2015
 
Thiết kế logo Dự án bất động sản La casta - Brand guidelines - Adina Việt Nam
Thiết kế logo Dự án bất động sản La casta  - Brand guidelines - Adina Việt NamThiết kế logo Dự án bất động sản La casta  - Brand guidelines - Adina Việt Nam
Thiết kế logo Dự án bất động sản La casta - Brand guidelines - Adina Việt Nam
 

Ähnlich wie Responsive webdesign WordCampNL 2012

Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
Razorfish
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
Justin Avery
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
touchtitans
 

Ähnlich wie Responsive webdesign WordCampNL 2012 (20)

Stc 2015 preparing legacy projects for responsive design - design issues
Stc 2015   preparing legacy projects for responsive design - design issuesStc 2015   preparing legacy projects for responsive design - design issues
Stc 2015 preparing legacy projects for responsive design - design issues
 
Proactive Responsive Design
Proactive Responsive DesignProactive Responsive Design
Proactive Responsive Design
 
Stc 2015 preparing legacy projects for responsive design - technical issues
Stc 2015   preparing legacy projects for responsive design - technical issuesStc 2015   preparing legacy projects for responsive design - technical issues
Stc 2015 preparing legacy projects for responsive design - technical issues
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
Mobile Monday Presentation: Responsive Web Design
Mobile Monday Presentation: Responsive Web DesignMobile Monday Presentation: Responsive Web Design
Mobile Monday Presentation: Responsive Web Design
 
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake OilCSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
 
Spectrum 16 pmc 16 - preparing legacy projects for responsive design
Spectrum 16   pmc 16 - preparing legacy projects for responsive designSpectrum 16   pmc 16 - preparing legacy projects for responsive design
Spectrum 16 pmc 16 - preparing legacy projects for responsive design
 
Responsive Design & Mobile First
Responsive Design & Mobile FirstResponsive Design & Mobile First
Responsive Design & Mobile First
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Responsive Web Design in iMIS (NiUG Austin 2015)
Responsive Web Design in iMIS (NiUG Austin 2015)Responsive Web Design in iMIS (NiUG Austin 2015)
Responsive Web Design in iMIS (NiUG Austin 2015)
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
 
Intro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS featuresIntro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS features
 
Responsive Web Design - Web & PHP Conference - 2013-09-18
Responsive Web Design - Web & PHP Conference - 2013-09-18Responsive Web Design - Web & PHP Conference - 2013-09-18
Responsive Web Design - Web & PHP Conference - 2013-09-18
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Module 08: Responsive Web Design
Module 08: Responsive Web DesignModule 08: Responsive Web Design
Module 08: Responsive Web Design
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
 
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
 
Responsive Web Design (HeadStart TechTalks)
Responsive Web Design (HeadStart TechTalks)Responsive Web Design (HeadStart TechTalks)
Responsive Web Design (HeadStart TechTalks)
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Responsive webdesign WordCampNL 2012