"smarter responsive design" by sam otis

46
Smarter Responsive Design

Upload: blend-interactive

Post on 15-Jul-2015

289 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: "Smarter Responsive Design" by Sam Otis

Smarter Responsive Design

Page 2: "Smarter Responsive Design" by Sam Otis

Mobile first development, accessibility, progressive enhancement, responsive design workflow, designing for touch

devices, responsive site vs. mobile specific site vs. native app, the

hamburger menu icon, etc.

What is Responsive Design?

Page 3: "Smarter Responsive Design" by Sam Otis
Page 4: "Smarter Responsive Design" by Sam Otis

Create one design, that responds to the shape of the display rendering it.

– Ethan Marcotte

Responsive Design:

Page 5: "Smarter Responsive Design" by Sam Otis

How can we improve the user experience with smarter design patterns?

Question:

Page 6: "Smarter Responsive Design" by Sam Otis

Column Stacking

Page 7: "Smarter Responsive Design" by Sam Otis

Column Stacking

GOAL:

Display the full content legibly on any size device.

Page 8: "Smarter Responsive Design" by Sam Otis

Column Stacking

PROBLEM:

Results in awkwardly long pages on small devices.

Page 9: "Smarter Responsive Design" by Sam Otis

Column Stacking

SmartUse in-page anchor navigation and a back-to-top link.

Page 10: "Smarter Responsive Design" by Sam Otis

Column Stacking

SmarterCollapse columns or sections into an accordion on small devices.

Page 11: "Smarter Responsive Design" by Sam Otis

+ News

+ Athletic Events

+ Arts Events

+ Live at Heritage Center

Page 12: "Smarter Responsive Design" by Sam Otis

Try converting tabs to an accordion structure on small screens too.

bootstrap-tabcollapse.js

Column Stacking

Page 13: "Smarter Responsive Design" by Sam Otis
Page 14: "Smarter Responsive Design" by Sam Otis

Column Stacking

Extra CreditCollect promoted content or features in a feature menu.

Page 15: "Smarter Responsive Design" by Sam Otis
Page 16: "Smarter Responsive Design" by Sam Otis

Hooray column stacking!

Page 17: "Smarter Responsive Design" by Sam Otis

Image Slider

Page 18: "Smarter Responsive Design" by Sam Otis

Image Slider

GOAL:

Highlight the main purpose of the site with a strong visual first impression.

Page 19: "Smarter Responsive Design" by Sam Otis

Image Slider

PROBLEMS:

A fixed aspect ratio means the image won’t fit on wide screens, and is too small on narrow ones.

Page 20: "Smarter Responsive Design" by Sam Otis
Page 21: "Smarter Responsive Design" by Sam Otis

Image Slider

SmartCrop the image at a max height with CSS, or set a max width on the overall site.

Page 22: "Smarter Responsive Design" by Sam Otis
Page 23: "Smarter Responsive Design" by Sam Otis

Image Slider

SmarterAdd a column to one side of the slider to better use the extra screen width.

Page 24: "Smarter Responsive Design" by Sam Otis
Page 25: "Smarter Responsive Design" by Sam Otis

Nothing makes a device feel smaller than a page element that doesn’t fit on

the screen.

Pro Tip:

Page 26: "Smarter Responsive Design" by Sam Otis

Image Slider

SmartPush the overlaid text below the image when it no longer fits.

Page 27: "Smarter Responsive Design" by Sam Otis
Page 28: "Smarter Responsive Design" by Sam Otis

Image Slider

SmarterCrop the images with CSS to feature the “live” area of the photo on smaller screens.

Page 29: "Smarter Responsive Design" by Sam Otis
Page 30: "Smarter Responsive Design" by Sam Otis

Image Slider

Extra CreditIn some cases, the image still doesn’t display very effectively. Is there a reasonable way to adjust an image to proportionally fit the screen better?

Page 31: "Smarter Responsive Design" by Sam Otis
Page 32: "Smarter Responsive Design" by Sam Otis

Image Slider

responsiveimages.org

● picture element● srcset and sizes

attributes● black magic

Page 33: "Smarter Responsive Design" by Sam Otis

Responsive Tables

Page 34: "Smarter Responsive Design" by Sam Otis

Responsive Tables

GOAL:

Display tabular data in a way that preserves the relationships between rows and columns.

Page 35: "Smarter Responsive Design" by Sam Otis

Responsive Tables

PROBLEM:

Multiple columns won’t fit on a narrow screen.

Page 36: "Smarter Responsive Design" by Sam Otis

Responsive Tables

SmartCreate an alternate list view of a table to display on a narrow screen.

Page 37: "Smarter Responsive Design" by Sam Otis
Page 38: "Smarter Responsive Design" by Sam Otis

Responsive Tables

SmarterEnable horizontal scrolling on the table.

Page 39: "Smarter Responsive Design" by Sam Otis

Responsive Tables

SmartererDynamically hide columns to fit, and provide a way to toggle through hidden data.

Page 40: "Smarter Responsive Design" by Sam Otis

Responsive Tables

tablesaw.js

Page 41: "Smarter Responsive Design" by Sam Otis

Responsive Tables

Smart AlecJust download a PDF.

Page 42: "Smarter Responsive Design" by Sam Otis

Any design pattern can be broken with reckless content management.

Pro Tip:

Page 43: "Smarter Responsive Design" by Sam Otis

Luke Wroblewskihttp://www.lukew.com/ff/entry.asp?1514

Brad Frosthttp://bradfrost.github.io/this-is-responsive/patterns.html

Ethan Marcottehttp://abookapart.com/products/responsive-web-design

Additional References:

Page 44: "Smarter Responsive Design" by Sam Otis

Questions?

Page 45: "Smarter Responsive Design" by Sam Otis

Questions?

Page 46: "Smarter Responsive Design" by Sam Otis

Thanks

@[email protected]