49
Responsive Design The "other" way of doing mobile sites.

Responsive Design: The "other" way of doing mobile sites

Embed Size (px)

DESCRIPTION

A lot of folks are using jQuery Mobile for mobile websites, but are there better ways? Responsive design has taken the web world by storm the last couple of years, and here we compare the two methods and give examples of how Responsive Design using HTML and CSS shines.

Citation preview

Page 1: Responsive Design: The "other" way of doing mobile sites

Responsive DesignThe "other" way of doing mobile sites.

Page 2: Responsive Design: The "other" way of doing mobile sites

Why Responsive?More appropriately: Why mobile?

Page 3: Responsive Design: The "other" way of doing mobile sites

Creating Mobile Websites 5-7 years ago:

Page 4: Responsive Design: The "other" way of doing mobile sites

In 2007, web designers everywhere said, "Oh, (bleep)."

Page 5: Responsive Design: The "other" way of doing mobile sites

"By 2013, mobile phones will overtake PCs as the most common Web access device worldwide."

Garter Research, 2010http://www.gartner.com/it/page.jsp?id=1278413

Page 6: Responsive Design: The "other" way of doing mobile sites

Tweetable Stats:http://goo.gl/4uy66

It takes 90 minutes for the average person to respond to an email. It takes 90 seconds for the average person to respond to a text message. (Source: CTIA.org) 70% of all mobile searches result in action within 1 hour. (Source: Mobile Marketer) Mobile coupons get 10 times the redemption rate of traditional coupons. (Source: Borrell Associates) 91% of all U.S. citizens have their mobile device within reach 24/7. (Source: Morgan Stanley)

Page 7: Responsive Design: The "other" way of doing mobile sites

Reality hits you hard, bro.

Page 8: Responsive Design: The "other" way of doing mobile sites

What's the solution?

Page 9: Responsive Design: The "other" way of doing mobile sites
Page 10: Responsive Design: The "other" way of doing mobile sites

"Responsive" vs "Adaptive"

Page 11: Responsive Design: The "other" way of doing mobile sites

CSS vs jQuery Mobile?

Page 12: Responsive Design: The "other" way of doing mobile sites

jQuery Mobile

Pros:● Easy & Fast● Familiar Framework● Native-ish UI● Consistent UI● Stable & Ongoing

Cons:● Too familiar?● Design restrictions● Doesn't push innovation

Page 13: Responsive Design: The "other" way of doing mobile sites

CSS-based Responsive Design

Pros:● Based on browser-size● Provides consistent UI across all devices.● IE bugs don't matter! (yet)

Page 14: Responsive Design: The "other" way of doing mobile sites

CSS-based Responsive Design

Cons:There are NO CONS. Responsive Design rawks and anyone who disagrees can go die in a fire.

Page 15: Responsive Design: The "other" way of doing mobile sites

CSS-based Responsive Design

Cons:● New territory in CSS.● Requires a lot more research.● Forced to attempt to solve an infinite number

of scenarios.

Page 16: Responsive Design: The "other" way of doing mobile sites

Responsive Design Defined

The idea behind a responsive design is to create a pleasant experience for your website or web-app across all devices.

Page 17: Responsive Design: The "other" way of doing mobile sites

Responsive Design Defined

You are not trying to create a *unique* experience on any one device (except possibly the desktop).

Page 18: Responsive Design: The "other" way of doing mobile sites

Responsive Design Defined

The goal of a responsive design should be to optimize the experience for as many devices as you can.

Page 19: Responsive Design: The "other" way of doing mobile sites

Developing a strategy.

Page 20: Responsive Design: The "other" way of doing mobile sites

Mobile first?Depends.

Page 21: Responsive Design: The "other" way of doing mobile sites

"Who's your audience?"Which platform has the most value?

Page 22: Responsive Design: The "other" way of doing mobile sites
Page 23: Responsive Design: The "other" way of doing mobile sites
Page 24: Responsive Design: The "other" way of doing mobile sites
Page 25: Responsive Design: The "other" way of doing mobile sites

"If I had eight hours to chop down a tree, I'd spend six sharpening my axe."Abraham Lincoln

Page 26: Responsive Design: The "other" way of doing mobile sites

Re-learning bad habits.Sorry, that should've been re-learning OLD habits. Old, not bad.

Page 27: Responsive Design: The "other" way of doing mobile sites

Percentage based design.Ah, the good old days.

Page 28: Responsive Design: The "other" way of doing mobile sites

Font-sizing.Everything you know is wrong.

Page 29: Responsive Design: The "other" way of doing mobile sites

Font-sizing options:

● Use pixels (good.)● Use EMs (meh.)● Use REMs (best?)

Page 30: Responsive Design: The "other" way of doing mobile sites

Layout options.It's either mobile or it's not.

Page 31: Responsive Design: The "other" way of doing mobile sites
Page 32: Responsive Design: The "other" way of doing mobile sites
Page 33: Responsive Design: The "other" way of doing mobile sites

The God AdAKA: The thing that almost killed the project.

Page 34: Responsive Design: The "other" way of doing mobile sites
Page 35: Responsive Design: The "other" way of doing mobile sites
Page 36: Responsive Design: The "other" way of doing mobile sites
Page 37: Responsive Design: The "other" way of doing mobile sites

You mean the user has to see an ad every time a new page loads?

Page 38: Responsive Design: The "other" way of doing mobile sites

It scrolls down to the first listing!

Click the "next" button...

Page 39: Responsive Design: The "other" way of doing mobile sites

The CodeIt's not as hard as you might think...

Page 40: Responsive Design: The "other" way of doing mobile sites

The CSS:

.god.ad {display: none} /*Hide God Ad by default*/@media screen and (max-width:980px) { .god.ad { display: block; margin: 0 auto; } .pencilHeader {display: none} .right.container {display: none}

Page 41: Responsive Design: The "other" way of doing mobile sites

CSS (cont'd):

.wrapper {width: auto !important;}

.left.container {float: none;margin: 0 auto;width: 95%}.header {width: 100%;margin: 0 auto;float: none;background-position: right 8px;}

Page 42: Responsive Design: The "other" way of doing mobile sites

The tools.Some are better than others.

Page 43: Responsive Design: The "other" way of doing mobile sites

The Tools:

● Mobilizer● Your browser (Chrome is Better than FF)

Page 44: Responsive Design: The "other" way of doing mobile sites
Page 45: Responsive Design: The "other" way of doing mobile sites

The Tools:

● Mobilizer● Your browser (Chrome is Better than FF)● Twitter Bootstrap 2.0● www.responsinator.com

Page 46: Responsive Design: The "other" way of doing mobile sites

Some great examples.And best practices.

Page 47: Responsive Design: The "other" way of doing mobile sites

The day is coming where Responsive will be the standardand not the exception.

Page 48: Responsive Design: The "other" way of doing mobile sites

Questions?(Speak up, plz.)

Page 49: Responsive Design: The "other" way of doing mobile sites

[email protected] you on Facebook!