These are the accompanying slides from a workshop / lecture I delivered in both November 2013 to a group of students from the University of Central Lancashire, and in January 2014 to a group of students from Manchester Metropolitan University, on the topic of responsive design.
This is version 2 of this slideshow, which includes added information and slides from my visit to MMU.
The task list from the workshop can be found here: http://www.richardsonweb.co.uk/responsive_tasks.pdf
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
An Introduction to Responsive Design
1. An Introduction to
Responsive Design
Liam Richardson
Front End Developer – Sigma Consulting Solutions Ltd.
@wearesigma / @meevil
2. Today’s workshop
• Learn valuable tips and tricks that will help speed up web development in
general
• Learn about the fundamentals of responsive design
•
•
•
•
•
•
Learn the differences between Responsive and Adaptive design
Learn how to approach a responsive project
Learn how to adapt pre-existing knowledge
Learn why we make websites responsive in the first place
Learn about mobile first design
Learn what the future holds In store
10. Media Queries - A Developer’s Best Friend
@media only screen and (max-device-width: 480px)
{
body{background-color: red;}
}
11. Media Queries - A Developer’s Best Friend
Is the screen smaller than 960px?
Show the tablet version.
Is the screen smaller than 768px?
Show the mobile version.
Media queries change how content is displayed depending on the size of the
device’s viewport
46. Lesson 4
USERS ARE WILLING TO
ACCEPT LIMITED
FUNCTIONALITY, BUT NOT
LIMITED CONTENT
47. When Do You Browse The Internet On Your
Phone?
48. • 80% use them during miscellaneous downtime
•
throughout the day
74% use them while waiting in lines or waiting for
appointments
69% use them while shopping
•
• 64% use them at work
• 62% use them while watching TV (a different
•
study claims 84%)
47% use them during their commute
Mobile first – Luke Wroblewski
49. “When reflecting on a lot of mobile usage
patterns, I like to imagine people as
one eyeball and one
thumb.
”
Mobile first – Luke Wroblewski
51. My fancy website
News Gallery About us Contact us
jQuery slider
jQuery slider
Article 1
Info
Some text, a brief
description of the
article…
News
Images
More info
Article 1
Twitter
Some text, a brief
description of the
article…
We just ate ice
cream #tasty
52. My fancy website
News Gallery About us Contact
jQuery slider
jQuery slider
Article 1
Some text, a brief
description of the
article…
Info
News
Images
54. My fancy website
☰ Menu
Article 1
Some text, a brief
description of the
article…
Article 2
Some text, a brief
description of the
article…
Article 2
Some text, a brief
description of the
article…
65. Lesson 8
THE ONLY CERTAINTY IS THAT
RESPONSIVE DESIGN IS HERE
TO STAY
FIND THE SOLUTION THAT
WORKS BEST FOR YOU
66. What have we learned?
Learned tips and tricks that will (hopefully) help speed up web
development in general
• Learned about the fundamentals of responsive design
•
•
•
•
•
•
•
Learned the differences between Responsive and Adaptive design
Learned how to approach a responsive project
Learned how to adapt pre-existing knowledge
Learned why we make websites responsive in the first place
Learned about the benefits of mobile first design
Learned what the future has in store
http://www.polygon.com
- Adapts fluidly to any device
Media queries allow us to change the layout of the page depending on the size of the screen
They effectively allow us to change the CSS in whatever ways we want
- Foundation gives you a rock solid responsive layout
- This changes the CSS box model to effectively change the way that padding and margin works
- It just makes sense, why WOULDN’T you go responsive. All sites should be responsive
Access to sites were controlled by carriers
Sites were slow
Sites were just a collection of links
Mobile services were slow and expensive
The iPhone changed all that. The web was displayed the same as on a desktop
Next slide 80% width
- We lost 80% of our screens!
- Notoriously incompatible
- There are so many different types of devices out there. What are we to do?
Lots of companies decided to split their sites into two.
Desktop / Mobile
Limited experience on mobile
Now, let’s talk about the how and when we use our mobile devices…
People don’t use mobile phones in the same way they use desktops
- How do we appeal to these people? How do we appeal to users who, a lot of the time, aren’t paying attention?
- jQuery heavy site story
- Really, what we should really be doing, is starting with the underdog first, then working our way up