Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
RESPONSIVE DESIGN WEB V5
Slide 2
Slide 2 text
THE RISE OF MOBILE WEB
Slide 3
Slide 3 text
In Australia, 2008 there were 1.27 billion landline subscribers and 4.1 billion mobile phone subscribers Mobile Landline
Slide 4
Slide 4 text
Half of all local searches worldwide are performed on mobile devices
Slide 5
Slide 5 text
By 2014 mobile internet will TAKE OVER desktop internet usage
Slide 6
Slide 6 text
“I need a mobile website NOW!”
Slide 7
Slide 7 text
Do you really need a separate mobile version of your site?
Slide 8
Slide 8 text
If so, which devices would you target?
Slide 9
Slide 9 text
And what about tablets?
Slide 10
Slide 10 text
Are you going to build a specific website for every device that hits the market?
Slide 11
Slide 11 text
“Time to stop and THINK!”
Slide 12
Slide 12 text
Most websites don’t need a specific mobile site...
Slide 13
Slide 13 text
They just need to look good in all sorts of different devices
Slide 14
Slide 14 text
In 2010, Ethan Marcotte coined the term “responsive web design”
Slide 15
Slide 15 text
Rather than build separate mobile & desktop websites...
Slide 16
Slide 16 text
You can create a single site that adapts to suit any device regardless of screen size or orientation
Slide 17
Slide 17 text
“One website multiple layouts”
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
No content
Slide 20
Slide 20 text
No content
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
No content
Slide 23
Slide 23 text
No content
Slide 24
Slide 24 text
No content
Slide 25
Slide 25 text
“But what if we really need a mobile site?”
Slide 26
Slide 26 text
There may be times when a mobile specific website is necessary.
Slide 27
Slide 27 text
Even in these cases, a responsive design should still be the default option. Device-specific solutions can be added on top.
Slide 28
Slide 28 text
HOW DOES RESPONSIVE DESIGN WORK
Slide 29
Slide 29 text
Ethan Marcotte defines responsive web design with three criteria
Slide 30
Slide 30 text
A flexible, grid-based layout This allows your layout to reflow to the screen size of any device 1
Slide 31
Slide 31 text
320px
Slide 32
Slide 32 text
480px
Slide 33
Slide 33 text
768px
Slide 34
Slide 34 text
1024px
Slide 35
Slide 35 text
1240px
Slide 36
Slide 36 text
Flexible images and media (videos etc) This allows your images and videos to reflow with the layout 2
Slide 37
Slide 37 text
Large images for large screen
Slide 38
Slide 38 text
Image resized for small screen
Slide 39
Slide 39 text
Video for large screen
Slide 40
Slide 40 text
Video resized for small screen
Slide 41
Slide 41 text
CSS3 Media queries This allows you to control each layout so that content is displayed optimally 3
Slide 42
Slide 42 text
Single-column narrow layout Optimal line length maintained
Slide 43
Slide 43 text
Single-column layout Optimal line length maintained
Slide 44
Slide 44 text
Two-column layout Optimal line length maintained
Slide 45
Slide 45 text
Three-column layout Optimal line length maintained
Slide 46
Slide 46 text
Three-column wide layout Optimal line length maintained
Slide 47
Slide 47 text
PROBLEM No.1
Slide 48
Slide 48 text
Media queries are not supported by some mobile devices... In fact, many mobile devices..
Slide 49
Slide 49 text
What’s the SOLUTION?
Slide 50
Slide 50 text
MOBILE FIRST
Slide 51
Slide 51 text
The simplest solution is to start with a mobile, or small screen layout first.
Slide 52
Slide 52 text
This means create a single column liquid layout that will work in any device
Slide 53
Slide 53 text
Then you can add advanced layout styles using media queries - for devices that support them.
Slide 54
Slide 54 text
PROBLEM No.2
Slide 55
Slide 55 text
Media queries are not supported by older versions of Internet Explorer (versions 6-8)
Slide 56
Slide 56 text
“Curse these old browsers”
Slide 57
Slide 57 text
Luckily, there are three solutions
Slide 58
Slide 58 text
Respond.js A simple JavaScript solution
Slide 59
Slide 59 text
CSS3-mediaqueries.js An advanced JavaScript solution
Slide 60
Slide 60 text
Conditional comments Showing different styles to older Internet Explorer
Slide 61
Slide 61 text
CREATING FLUID IMAGES & MOVIES
Slide 62
Slide 62 text
Creating fluid images is easy. You can just set a width or max-width for all images. img { max-width: 100%; }
Slide 63
Slide 63 text
Fluid video is harder, but luckily there is help at hand:
Slide 64
Slide 64 text
What about large images and MOBILE?
Slide 65
Slide 65 text
RESPONSIVE IMAGES
Slide 66
Slide 66 text
One concern with the “mobile first” approach is that large images may be served to mobile devices.
Slide 67
Slide 67 text
Luckily, there are a range of solutions now available that let you serve small images as a default, and then larger images where needed.
Slide 68
Slide 68 text
Responsive images - part 1 & 2 http://www.cloudfour.com/responsive-imgs-part-2/
Slide 69
Slide 69 text
Time to get out there and BE RESPONSIVE!
Slide 70
Slide 70 text
Russ Weakley Max Design Site: maxdesign.com.au Twitter: twitter.com/russmaxdesign Slideshare: slideshare.net/maxdesign Linkedin: linkedin.com/in/russweakley