Download - Responsive Design

Transcript
Page 1: Responsive Design

RESPONSIVE DESIGNRecent work, current trends, and future capabilities

Page 2: Responsive Design

Overview

• Fundamentals of web development– HTML– CSS– Javascript

• Cross Browser / Platform– Graceful Degradation– Progressive Enhancement

• What’s New– HTML5– CSS3– Responsive Web– Hardware features

What do you want me to do? LEAVE? Then they'll keep being wrong!

Page 3: Responsive Design

WHAT WE DOTake creative and turn it into interactive websites

Page 4: Responsive Design
Page 5: Responsive Design

How?

HTML

JavascriptCSS

Sure, there is more, but let’s keep this simple…

Page 6: Responsive Design

HTML

HTML is a language for describing web pages.

• HTML stands for Hyper Text Markup Language• HTML is not a programming language, it is

a markup language• A markup language is a set of markup tags• The purpose of the tags are to describe page

content

Referenced from weschools.com

Page 7: Responsive Design

HTML

HTML is a language for describing web pages.

• HTML stands for Hyper Text Markup Language• HTML is not a programming language, it is

a markup language• A markup language is a set of markup tags• The purpose of the tags are to describe page

content

<h1> </h1>

Referenced from weschools.com

Page 8: Responsive Design

HTML

HTML is a language for describing web pages.

• HTML stands for Hyper Text Markup Language• HTML is not a programming language, it is

a markup language• A markup language is a set of markup tags• The purpose of the tags are to describe page

content

<p> </p>

Referenced from weschools.com

Page 9: Responsive Design

HTML

HTML is a language for describing web pages.

• HTML stands for Hyper Text Markup Language• HTML is not a programming language, it is

a markup language• A markup language is a set of markup tags• The purpose of the tags are to describe page

content

<ul>

</ul>

<li>

<li>

<li>

<li>

</li>

</li>

</li>

</li>

Referenced from weschools.com

Page 10: Responsive Design

HTML

HTML is a language for describing web pages.

• HTML stands for Hyper Text Markup Language• HTML is not a programming language, it is

a markup language• A markup language is a set of markup tags• The purpose of the tags are to describe page

content

<h1> </h1>

CSS (Cascading Style Sheets) define how to display HTML elements

Referenced from weschools.com

Page 11: Responsive Design

HTML

HTML is a language for describing web pages.

• HTML stands for Hyper Text Markup Language• HTML is not a programming language, it is

a markup language• A markup language is a set of markup tags• The purpose of the tags are to describe page

content

<h1> </h1>

CSS (Cascading Style Sheets) define how to display HTML elements

h1 { font-family: Times, serif;}

Referenced from weschools.com

Page 12: Responsive Design

HTML

HTML is a language for describing web pages.

• HTML stands for Hyper Text Markup Language• HTML is not a programming language, it is

a markup language• A markup language is a set of markup tags• The purpose of the tags are to describe page

content

<h1> </h1>

CSS (Cascading Style Sheets) define how to display HTML elements

h1 { font-family: Times, serif; font-weight: bold;}

Referenced from weschools.com

Page 13: Responsive Design

HTML

HTML is a language for describing web pages.

• HTML stands for Hyper Text Markup Language• HTML is not a programming language, it is

a markup language• A markup language is a set of markup tags• The purpose of the tags are to describe page

content

<h1> </h1>

CSS (Cascading Style Sheets) define how to display HTML elements

h1 { font-family: Times, serif; font-weight: bold; color: blue;}

Referenced from weschools.com

Page 14: Responsive Design

Javascript

• JavaScript is THE scripting language of the Web.

• JavaScript is used in billions of Web pages to add functionality, validate forms, communicate with the server, and much more.

• …we’ll leave it at that.

Referenced from weschools.com

Page 15: Responsive Design

Result

HTML

JavascriptCSS

Sure, there is more, but let’s keep this simple…

Webpage

Page 16: Responsive Design

NEW TRENDSTranslating ‘buzz words’

Page 17: Responsive Design

HTML5Header Menu Video Footer

For more information, visit http://www.w3schools.com/html5

Page 18: Responsive Design

HTML5Header Menu Video Footer

For more information, visit http://www.w3schools.com/html5

<header> </header>

Page 19: Responsive Design

HTML5Header Menu Video Footer

For more information, visit http://www.w3schools.com/html5

<menu> </menu><li> <li></li> <li></li> <li></li> </li>

Page 20: Responsive Design

HTML5Header Menu Video Footer

For more information, visit http://www.w3schools.com/html5

<video> </video>

Page 21: Responsive Design

HTML5Header Menu Video Footer

For more information, visit http://www.w3schools.com/html5<footer> </footer>

Page 22: Responsive Design

CSS3

Page 23: Responsive Design

CSS3Rounded Borders

-webkit-border-radius: 50px;border-radius: 50px;

Page 24: Responsive Design

CSS3Gradients

background: linear-gradient(top, #93cede 0%,#49a5bf 100%);background: -moz-linear-gradient(top, #93cede 0%, #49a5bf

100%);

Page 25: Responsive Design

CSS3Dropshadows

-webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .3); box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .3);

Page 26: Responsive Design

CSS3@Font Face {

font-family: 'HarlowSolidItalic'; src: url(‘harlow_solid_italic.eot');

Page 27: Responsive Design

CSS3Transitions

-webkit-transition: all 500ms ease-in-out;transition: all 500ms ease-in-out;

Page 28: Responsive Design

WEB STANDARDSGood web development

Page 29: Responsive Design

DIFFERENT BROWSERS HAVE DIFFERENT CAPABILITIES

Why IE is the subject of developers’ nightmares

Page 30: Responsive Design

DIFFERENT DEVICES HAVE DIFFERENT CAPABILITIES

Browser wars have turned into the device wars

Page 31: Responsive Design
Page 32: Responsive Design

GRACEFUL DEGRADATION VS.

PROGRESSIVE ENHANCEMENT

Page 33: Responsive Design

Graceful Degradation

Page 34: Responsive Design

RESPONSIVE DESIGNNew Trends in Mobile Development

Page 35: Responsive Design
Page 36: Responsive Design

SMALLER…LIGHTER…MORE SENSITIVE

We have the technology. We can make it better than it was.

Page 37: Responsive Design

Mobile Only vs. Responsive

• Build multiple sites, each dedicated to one platform (mobile / desktop / tablet)

m.ashton.nikonusa.com

• Build one site with special techniques for handling content per platform.

www.csc.com

Page 38: Responsive Design

MOBILE / DESKTOP WEBSITES

Same idea…different website

Page 39: Responsive Design

THE RESULTRESPONSIVE WEBOne site to rule them all…

Page 40: Responsive Design

OTHER COOL THINGS

Page 41: Responsive Design

CANVAS TAGhttp://ghost-hack.com/post/jsexperiments/tunneler/tunneler.html

Page 42: Responsive Design

PARALLAX SCROLLINGBackground scrolls slower than the foreground, creating an illusion of depth.

http://www.nikebetterworld.com/

Page 43: Responsive Design

INFINITE SCROLLINGContent loading as you scroll to it

Page 44: Responsive Design

HARDWARE SPECIFIC INTEGRATIONMore than just a mouse

Page 45: Responsive Design

TOUCH SENSITIVITYIt’s old hat now, but:

Page 46: Responsive Design

GPSI know where you live

Page 47: Responsive Design

ACCELEROMETERGive your webpage a turn

Page 48: Responsive Design

THE ENDQUESTIONS, CORRECTIONS, OR [email protected]