SlideShare a Scribd company logo
1 of 51
Download to read offline
PROGRESSIVE
                                    PROTOTYPING


TODD ZAKI WARFEL / BIG D / #html5
“Interaction design without
prototyping is like cooking
without tasting.”
- Craig Villamore cvil.ly




http://bit.ly/pb5Xec
I DON’T WIREFRAME
m aki ng.
                        e food I’m
        to t ast e th
Iwant
PROTOTYPING IS A
DESIGN PROCESS
PROTOTYPING OFFERs A BETTER WAY TO
WORK THROUGH AND VALIDATE
YOUR DESIGN
“You can fix it on the drafting
board with an eraser, or on the
construction site with a
sledgehammer.”
- Frank Lloyd Wright
PROTOTYPES ALLOW YOU TO
FAIL IN A LOW COST ENVIRONMENT
IF YOU AREN’T FAILING, YOU’RE
NOT TRYING HARD ENOUGH.
FIDELITY



Hi Visual/Hi Functional        Lo Visual/Lo Functional
Lo Visual/Hi Functional        Hi Visual/Lo Functional
, bu t...
                p like this
    ig ht e nd u
It m
ha ske tch
            sta rts wit
It always
data fi rst
     nin gw ith
Desig
graysc ale
               ro und s in
 ex t, a few
N
ex app eal
                    th som es
         h it off wi
F inis
HTML Doctypes
<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.1//EN"

     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.0  Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-­‐strict.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Transitional//EN"

      "http://www.w3.org/TR/html4/loose.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.0  Frameset//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-­‐frameset.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Strict//EN"

      "http://www.w3.org/TR/html4/strict.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Transitional//EN"

      "http://www.w3.org/TR/html4/loose.dtd">
HTML5 Doctype
<!DOCTYPE  HTML>
HTML5 TAGS
<address>            <header>
<audio>              <hgroup>
<article>            <input>
<aside>              <meter>
<canvas>             <nav>
<datalist>           <progress>
<div>                <section>
<p>                  <table>,  <th>,  <tr>,  <td>
<dl>,  <dt>,  <dd>   <time>
<ol>,  <ul>,  <li>   <video>
<fieldset>
<footer>
HTML5 TAGS
<address>            <header>
<audio>              <hgroup>
<article>            <input>
<aside>              <meter>
<canvas>             <nav>
<datalist>           <progress>
<div>                <section>
<p>                  <table>,  <th>,  <tr>,  <td>
<dl>,  <dt>,  <dd>   <time>
<ol>,  <ul>,  <li>   <video>
<fieldset>
<footer>
html page structure
A typical HTML page will
                                  div  id=header
use divs with IDs and
Classes to create the              div  id=nav
structure.

                           div  id=content         div  id=  
                                                   sidebar




                                  div  id=footer
HTML5 page structure
HTML5 gives semantic
                                         header
meaning to these structures,
which previously required                  nav
IDs and Classes.
                               section/article    aside




                                         footer
PRO TIP: UPDATE YOUR RESET.CSS
article,  aside,  footer,  header,  hgroup,  
nav,  meter,  progress,  section  
{display:block;  margin:0;  padding:0;  
border:0;  font-­‐weight:inherit;  font-­‐
style:inherit;  font-­‐size:100%;  font-­‐
family:inherit;  vertical-­‐align:baseline;  
list-­‐style:none;  outline:none}
What about thIS LITTLE BASTARD?
IE needs a little help from
our friend JavaScript.
Modernizer/HTML5shiv to
the rescue.
http://modernizr.com
http://
html5shiv.googlecode.co
m/svn/trunk/html5.js
Pro tip: Smack IE Into Shape
<!DOCTYPE  html>
<html>
<head>
<!-­‐-­‐[if  lt  IE  9]>
<script  src="http://
html5shiv.googlecode.com/svn/trunk/
html5.js"  type="text/javascript"></script>
<![endif]-­‐-­‐>
</head>
NEW HTML5 Input Types
color              time
date               week
datetime           url
datetime-­‐local
email
number
month
range
search
tel  
NEW HTML5 Input Types
color              time
date               week
datetime           url
datetime-­‐local
email
number
month
range
search
tel  
Email               URL




                          advant age
             ant mobile
        Inst
Gettin’ Sexy with CSS3
    It’s the New Photoshop, YO!
CSS3 SELECTORS
*                     :first-­‐letter         :nth-­‐last-­‐of-­‐type()
E                     ::first-­‐letter        :empty
.class                :first-­‐line           :not()
#id                   ::first-­‐line          :target
E  F                  E[attribute^=value]     :enabled
E  >  F               E[attribute$=value]     :disabled
E  +  F               E[attribute*=value]     :checked
E[attribute]          E  ~  F
E[attribute=value]    :root
E[attribute~=value]   :last-­‐child
E[attribute|=value]   :only-­‐child
:first-­‐child        :nth-­‐child()
:lang()               :nth-­‐last-­‐child()
:before               :first-­‐of-­‐type
::before              :last-­‐of-­‐type
:after                :only-­‐of-­‐type
::after               :nth-­‐of-­‐type()
CSS3 SELECTORS
*                     :first-­‐letter         :nth-­‐last-­‐of-­‐type()
E                     ::first-­‐letter        :empty
.class                :first-­‐line           :not()
#id                   ::first-­‐line          :target
E  F                  E[attribute^=value]     :enabled
E  >  F               E[attribute$=value]     :disabled
E  +  F               E[attribute*=value]     :checked
E[attribute]          E  ~  F
E[attribute=value]    :root
E[attribute~=value]   :last-­‐child
E[attribute|=value]   :only-­‐child
:first-­‐child        :nth-­‐child()
:lang()               :nth-­‐last-­‐child()
:before               :first-­‐of-­‐type
::before              :last-­‐of-­‐type
:after                :only-­‐of-­‐type
::after               :nth-­‐of-­‐type()
Fancy Button
Border Radius
-­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐border-­‐
radius:6px;  border-­‐radius:6px;




             Fancy Button
TExt Shadow
text-­‐shadow:  1px  1px  0  #d2572b;}




           Fancy Button
Box Shadow
-­‐moz-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  
0  3px;  -­‐webkit-­‐box-­‐
shadow:rgba(218,218,218,.6)  0  0  0  3px;
box-­‐shadow:rgba(218,218,218,.6)  0  0  0  
3px;  


            Fancy Button
Background Gradient
background:-­‐moz-­‐linear-­‐gradient(center  
top,  #eb9972,  #e67646  55%,  #d2572b);  
background:-­‐webkit-­‐gradient(linear,  0%  
0%,  0%  100%,  from(#eb9972),  color-­‐
stop(0.55,  #e67646),  to(#d2572b));



           Fancy Button
Anatomy of a CSS3 Button
.btn-­‐primary  {padding:.5em  .9em;  background:  
#e67646;  background:-­‐webkit-­‐gradient(linear,  0%  0%,  
0%  100%,  from(#eb9972),  color-­‐stop(0.55,  #e67646),  
to(#d2572b));  background:-­‐moz-­‐linear-­‐
gradient(center  top,  #eb9972,  #e67646  55%,  
#d2572b);  -­‐moz-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  
0  3px;  -­‐webkit-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  
0  3px;  box-­‐shadow:rgba(218,218,218,.6)  0  0  0  3px;  
border-­‐radius:6px;  border:1px  solid  #bc6647;  -­‐moz-­‐
box-­‐shadow:#ddd  0  0  0  2px;  -­‐webkit-­‐box-­‐shadow:#ddd  
0  0  0  2px;  font-­‐size:  1.375em;  font-­‐weight:  500;  
color:  #fff;  text-­‐shadow:  1px  1px  0  #d2572b;}
Anatomy of a CSS3 Button
.btn-­‐primary  {padding:.5em  .9em;  background:  
#e67646;  background:-­‐webkit-­‐gradient(linear,  0%  0%,  
0%  100%,  from(#eb9972),  color-­‐stop(0.55,  #e67646),  
to(#d2572b));  background:-­‐moz-­‐linear-­‐
gradient(center  top,  #eb9972,  #e67646  55%,  
#d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐border-­‐
radius:6px;  border-­‐radius:6px;  border:1px  solid  
#bc6647;  -­‐moz-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  0  
3px;  -­‐webkit-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  0  
3px;  box-­‐shadow:rgba(218,218,218,.6)  0  0  0  3px;  
font-­‐size:  1.375em;  font-­‐weight:  500;  color:  #fff;  
text-­‐shadow:  1px  1px  0  #d2572b;}
Anatomy of a CSS3 Button
.btn-­‐primary  {padding:.5em  .9em;  background:  
#e67646;  background:-­‐webkit-­‐gradient(linear,  0%  0%,  
0%  100%,  from(#eb9972),  color-­‐stop(0.55,  #e67646),  
to(#d2572b));  background:-­‐moz-­‐linear-­‐
gradient(center  top,  #eb9972,  #e67646  55%,  
#d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐border-­‐
radius:6px;  border-­‐radius:6px;  border:1px  solid  
#bc6647;  -­‐moz-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  0  
3px;  -­‐webkit-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  0  
3px;  box-­‐shadow:rgba(218,218,218,.6)  0  0  0  3px;  
font-­‐size:  1.375em;  font-­‐weight:  500;  color:  #fff;  
text-­‐shadow:  1px  1px  0  #d2572b;}
Anatomy of a CSS3 Button
.btn-­‐primary  {padding:.5em  .9em;  background:  
#e67646;  background:-­‐webkit-­‐gradient(linear,  0%  
0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,  
#e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐
gradient(center  top,  #eb9972,  #e67646  55%,  
#d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐
border-­‐radius:6px;  border-­‐radius:6px;  border:1px  
solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐
box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐
weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0  
#d2572b;}
fun ctio nal
        olo r/H i-fi
Hi- fi c
ece s fi rst
         all the pi
Bu ild
ith jQu ery
            t eracti on w
 dd som e in
A
se lf h eal
             f th at s exy
     e som eo
Showm
Resources
HTML5 Spec        http://www.w3.org/TR/html5

CSS3 Spec         http://www.w3.org/Style/CSS/current-­‐work.en.html  

HTML5SHIV         http://html5shiv.googlecode.com/svn/trunk/html5.js


Modernizer        http://modernizr.com


Dive Into HTML5   http://diveintohtml5.org


HTML5/CSS3        http://realworldcss3.com/resources/


REFRAMER APP      http://getreframer.com
Prototyping: a Practitioner’s Guide                            R us s U nger




http://bit.ly/protobk
                                                               T odd Zaki  W ar f
                                                                                el




                                                G uer r a
                                                UX
                                                R es ear c h
                                                M et ho d s
                                                T hr i
                                                     f
                                                     t
                                                     y,
                                                      Fas t
                                                          ,
                                                          and Ef
                                                               f
                                                               ect
                                                                 i
                                                                 v e U s er Ex per i
                                                                                   ence R es ear ch T echni
                                                                                                          ques




              Guerrilla UX Research Methods
                                 Fall of 2011



  @zakiwarfel

More Related Content

What's hot

CSS pattern libraries
CSS pattern librariesCSS pattern libraries
CSS pattern librariesRuss Weakley
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop NotesPamela Fox
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSNaga Harish M
 
Try Web Components
Try Web ComponentsTry Web Components
Try Web Components拓樹 谷
 
モダンなCSS設計パターンを考える
モダンなCSS設計パターンを考えるモダンなCSS設計パターンを考える
モダンなCSS設計パターンを考える拓樹 谷
 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreRuss Weakley
 
From PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeFrom PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeDerek Christensen
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Ryan Price
 
CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書拓樹 谷
 
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointBasics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointSahil Gandhi
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Nicholas Zakas
 
Web Standards: Fueling Innovation [Web Design World Boston '08]
Web Standards: Fueling Innovation [Web Design World Boston '08]Web Standards: Fueling Innovation [Web Design World Boston '08]
Web Standards: Fueling Innovation [Web Design World Boston '08]Aaron Gustafson
 
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Esteve Castells
 
LessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingLessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingMyles Braithwaite
 
LESS is More
LESS is MoreLESS is More
LESS is Morejsmith92
 

What's hot (19)

CSS pattern libraries
CSS pattern librariesCSS pattern libraries
CSS pattern libraries
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop Notes
 
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
 
HTML5 Essentials
HTML5 EssentialsHTML5 Essentials
HTML5 Essentials
 
Try Web Components
Try Web ComponentsTry Web Components
Try Web Components
 
モダンなCSS設計パターンを考える
モダンなCSS設計パターンを考えるモダンなCSS設計パターンを考える
モダンなCSS設計パターンを考える
 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and more
 
From PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeFrom PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to life
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011
 
CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書
 
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointBasics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPoint
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
 
Web Standards: Fueling Innovation [Web Design World Boston '08]
Web Standards: Fueling Innovation [Web Design World Boston '08]Web Standards: Fueling Innovation [Web Design World Boston '08]
Web Standards: Fueling Innovation [Web Design World Boston '08]
 
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
 
LessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingLessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG Meeting
 
LESS is More
LESS is MoreLESS is More
LESS is More
 

Similar to Prototyping w/HTML5 and CSS3

Implementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopImplementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopShoshi Roberts
 
Ruby on Rails 3.1: Let's bring the fun back into web programing
Ruby on Rails 3.1: Let's bring the fun back into web programingRuby on Rails 3.1: Let's bring the fun back into web programing
Ruby on Rails 3.1: Let's bring the fun back into web programingBozhidar Batsov
 
Compass, Sass, and the Enlightened CSS Developer
Compass, Sass, and the Enlightened CSS DeveloperCompass, Sass, and the Enlightened CSS Developer
Compass, Sass, and the Enlightened CSS DeveloperWynn Netherland
 
CSS3 and jQuery
CSS3 and jQueryCSS3 and jQuery
CSS3 and jQuerypsophy
 
Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Hatem Mahmoud
 
Web Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at GoogleWeb Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at GoogleEstelle Weyl
 
Html5 & CSS overview
Html5 & CSS overviewHtml5 & CSS overview
Html5 & CSS overviewIvan Frantar
 
Building a Single Page Application using Ember.js ... for fun and profit
Building a Single Page Application using Ember.js ... for fun and profitBuilding a Single Page Application using Ember.js ... for fun and profit
Building a Single Page Application using Ember.js ... for fun and profitBen Limmer
 
Big Design Conference: CSS3
Big Design Conference: CSS3 Big Design Conference: CSS3
Big Design Conference: CSS3 Wynn Netherland
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5Kevin DeRudder
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsKaelig Deloumeau-Prigent
 
CSS for Developers
CSS for DevelopersCSS for Developers
CSS for DevelopersNascenia IT
 

Similar to Prototyping w/HTML5 and CSS3 (20)

Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
html5
html5html5
html5
 
Implementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopImplementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 Workshop
 
Core CSS3
Core CSS3Core CSS3
Core CSS3
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
Ruby on Rails 3.1: Let's bring the fun back into web programing
Ruby on Rails 3.1: Let's bring the fun back into web programingRuby on Rails 3.1: Let's bring the fun back into web programing
Ruby on Rails 3.1: Let's bring the fun back into web programing
 
Compass, Sass, and the Enlightened CSS Developer
Compass, Sass, and the Enlightened CSS DeveloperCompass, Sass, and the Enlightened CSS Developer
Compass, Sass, and the Enlightened CSS Developer
 
CSS3 and jQuery
CSS3 and jQueryCSS3 and jQuery
CSS3 and jQuery
 
css.ppt
css.pptcss.ppt
css.ppt
 
css.ppt
css.pptcss.ppt
css.ppt
 
Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01
 
CSS3 vs jQuery
CSS3 vs jQueryCSS3 vs jQuery
CSS3 vs jQuery
 
Web Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at GoogleWeb Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at Google
 
Html5 & CSS overview
Html5 & CSS overviewHtml5 & CSS overview
Html5 & CSS overview
 
Building a Single Page Application using Ember.js ... for fun and profit
Building a Single Page Application using Ember.js ... for fun and profitBuilding a Single Page Application using Ember.js ... for fun and profit
Building a Single Page Application using Ember.js ... for fun and profit
 
Big Design Conference: CSS3
Big Design Conference: CSS3 Big Design Conference: CSS3
Big Design Conference: CSS3
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
 
CSS for Developers
CSS for DevelopersCSS for Developers
CSS for Developers
 

Recently uploaded

guest bathroom white and bluesssssssssss
guest bathroom white and bluesssssssssssguest bathroom white and bluesssssssssss
guest bathroom white and bluesssssssssssNadaMohammed714321
 
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...Pranav Subramanian
 
Karim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppKarim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppNadaMohammed714321
 
simpson-lee_house_dt20ajshsjsjsjsjj15.pdf
simpson-lee_house_dt20ajshsjsjsjsjj15.pdfsimpson-lee_house_dt20ajshsjsjsjsjj15.pdf
simpson-lee_house_dt20ajshsjsjsjsjj15.pdfLucyBonelli
 
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.pptMaking and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.pptJIT KUMAR GUPTA
 
guest bathroom white and blue ssssssssss
guest bathroom white and blue ssssssssssguest bathroom white and blue ssssssssss
guest bathroom white and blue ssssssssssNadaMohammed714321
 
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...Thomas Schielke
 
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinGeneral Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinSamar Hossam ElDin Ahmed
 
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...Yantram Animation Studio Corporation
 
PORTFOLIO 2024 ANASTASIYA KUDINOVA
PORTFOLIO 2024       ANASTASIYA KUDINOVAPORTFOLIO 2024       ANASTASIYA KUDINOVA
PORTFOLIO 2024 ANASTASIYA KUDINOVAAnastasiya Kudinova
 
The spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyThe spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyChristopher Totten
 
City Hall London, Norman Foster building description with building details.pptx
City Hall London, Norman Foster building description with building details.pptxCity Hall London, Norman Foster building description with building details.pptx
City Hall London, Norman Foster building description with building details.pptxYaminiDabbara
 
10 Best WordPress Plugins to make the website effective in 2024
10 Best WordPress Plugins to make the website effective in 202410 Best WordPress Plugins to make the website effective in 2024
10 Best WordPress Plugins to make the website effective in 2024digital learning point
 
Karim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppKarim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppNadaMohammed714321
 
ARCHITECTURAL PORTFOLIO CRISTOBAL HERAUD 2024.pdf
ARCHITECTURAL PORTFOLIO CRISTOBAL HERAUD 2024.pdfARCHITECTURAL PORTFOLIO CRISTOBAL HERAUD 2024.pdf
ARCHITECTURAL PORTFOLIO CRISTOBAL HERAUD 2024.pdfCristobalHeraud
 
Map of St. Louis Parks
Map of St. Louis Parks                              Map of St. Louis Parks
Map of St. Louis Parks CharlottePulte
 
Sharif's 9-BOX Monitoring Model for Adaptive Programme Management
Sharif's 9-BOX Monitoring Model for Adaptive Programme ManagementSharif's 9-BOX Monitoring Model for Adaptive Programme Management
Sharif's 9-BOX Monitoring Model for Adaptive Programme ManagementMd. Shariful Hoque
 
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...Pranav Subramanian
 
Piece by Piece Magazine
Piece by Piece Magazine                      Piece by Piece Magazine
Piece by Piece Magazine CharlottePulte
 

Recently uploaded (20)

guest bathroom white and bluesssssssssss
guest bathroom white and bluesssssssssssguest bathroom white and bluesssssssssss
guest bathroom white and bluesssssssssss
 
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
 
Karim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppKarim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 ppppppppppppppp
 
simpson-lee_house_dt20ajshsjsjsjsjj15.pdf
simpson-lee_house_dt20ajshsjsjsjsjj15.pdfsimpson-lee_house_dt20ajshsjsjsjsjj15.pdf
simpson-lee_house_dt20ajshsjsjsjsjj15.pdf
 
ASME B31.4-2022 estandar ductos año 2022
ASME B31.4-2022 estandar ductos año 2022ASME B31.4-2022 estandar ductos año 2022
ASME B31.4-2022 estandar ductos año 2022
 
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.pptMaking and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
Making and Unmaking of Chandigarh - A City of Two Plans2-4-24.ppt
 
guest bathroom white and blue ssssssssss
guest bathroom white and blue ssssssssssguest bathroom white and blue ssssssssss
guest bathroom white and blue ssssssssss
 
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
 
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinGeneral Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
 
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
 
PORTFOLIO 2024 ANASTASIYA KUDINOVA
PORTFOLIO 2024       ANASTASIYA KUDINOVAPORTFOLIO 2024       ANASTASIYA KUDINOVA
PORTFOLIO 2024 ANASTASIYA KUDINOVA
 
The spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyThe spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenology
 
City Hall London, Norman Foster building description with building details.pptx
City Hall London, Norman Foster building description with building details.pptxCity Hall London, Norman Foster building description with building details.pptx
City Hall London, Norman Foster building description with building details.pptx
 
10 Best WordPress Plugins to make the website effective in 2024
10 Best WordPress Plugins to make the website effective in 202410 Best WordPress Plugins to make the website effective in 2024
10 Best WordPress Plugins to make the website effective in 2024
 
Karim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppKarim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 ppppppppppppppp
 
ARCHITECTURAL PORTFOLIO CRISTOBAL HERAUD 2024.pdf
ARCHITECTURAL PORTFOLIO CRISTOBAL HERAUD 2024.pdfARCHITECTURAL PORTFOLIO CRISTOBAL HERAUD 2024.pdf
ARCHITECTURAL PORTFOLIO CRISTOBAL HERAUD 2024.pdf
 
Map of St. Louis Parks
Map of St. Louis Parks                              Map of St. Louis Parks
Map of St. Louis Parks
 
Sharif's 9-BOX Monitoring Model for Adaptive Programme Management
Sharif's 9-BOX Monitoring Model for Adaptive Programme ManagementSharif's 9-BOX Monitoring Model for Adaptive Programme Management
Sharif's 9-BOX Monitoring Model for Adaptive Programme Management
 
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
 
Piece by Piece Magazine
Piece by Piece Magazine                      Piece by Piece Magazine
Piece by Piece Magazine
 

Prototyping w/HTML5 and CSS3

  • 1. PROGRESSIVE PROTOTYPING TODD ZAKI WARFEL / BIG D / #html5
  • 2. “Interaction design without prototyping is like cooking without tasting.” - Craig Villamore cvil.ly http://bit.ly/pb5Xec
  • 4. m aki ng. e food I’m to t ast e th Iwant
  • 6. PROTOTYPING OFFERs A BETTER WAY TO WORK THROUGH AND VALIDATE YOUR DESIGN
  • 7. “You can fix it on the drafting board with an eraser, or on the construction site with a sledgehammer.” - Frank Lloyd Wright
  • 8. PROTOTYPES ALLOW YOU TO FAIL IN A LOW COST ENVIRONMENT
  • 9. IF YOU AREN’T FAILING, YOU’RE NOT TRYING HARD ENOUGH.
  • 10. FIDELITY Hi Visual/Hi Functional Lo Visual/Lo Functional Lo Visual/Hi Functional Hi Visual/Lo Functional
  • 11. , bu t... p like this ig ht e nd u It m
  • 12. ha ske tch sta rts wit It always
  • 13.
  • 14. data fi rst nin gw ith Desig
  • 15. graysc ale ro und s in ex t, a few N
  • 16. ex app eal th som es h it off wi F inis
  • 17.
  • 18. HTML Doctypes <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.1//EN"   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.0  Strict//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-­‐strict.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Transitional//EN"      "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.0  Frameset//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-­‐frameset.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Strict//EN"      "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Transitional//EN"      "http://www.w3.org/TR/html4/loose.dtd">
  • 20. HTML5 TAGS <address> <header> <audio> <hgroup> <article> <input> <aside> <meter> <canvas> <nav> <datalist> <progress> <div> <section> <p> <table>,  <th>,  <tr>,  <td> <dl>,  <dt>,  <dd> <time> <ol>,  <ul>,  <li> <video> <fieldset> <footer>
  • 21. HTML5 TAGS <address> <header> <audio> <hgroup> <article> <input> <aside> <meter> <canvas> <nav> <datalist> <progress> <div> <section> <p> <table>,  <th>,  <tr>,  <td> <dl>,  <dt>,  <dd> <time> <ol>,  <ul>,  <li> <video> <fieldset> <footer>
  • 22.
  • 23.
  • 24. html page structure A typical HTML page will div  id=header use divs with IDs and Classes to create the div  id=nav structure. div  id=content div  id=   sidebar div  id=footer
  • 25. HTML5 page structure HTML5 gives semantic header meaning to these structures, which previously required nav IDs and Classes. section/article aside footer
  • 26. PRO TIP: UPDATE YOUR RESET.CSS article,  aside,  footer,  header,  hgroup,   nav,  meter,  progress,  section   {display:block;  margin:0;  padding:0;   border:0;  font-­‐weight:inherit;  font-­‐ style:inherit;  font-­‐size:100%;  font-­‐ family:inherit;  vertical-­‐align:baseline;   list-­‐style:none;  outline:none}
  • 27. What about thIS LITTLE BASTARD? IE needs a little help from our friend JavaScript. Modernizer/HTML5shiv to the rescue. http://modernizr.com http:// html5shiv.googlecode.co m/svn/trunk/html5.js
  • 28. Pro tip: Smack IE Into Shape <!DOCTYPE  html> <html> <head> <!-­‐-­‐[if  lt  IE  9]> <script  src="http:// html5shiv.googlecode.com/svn/trunk/ html5.js"  type="text/javascript"></script> <![endif]-­‐-­‐> </head>
  • 29. NEW HTML5 Input Types color time date week datetime url datetime-­‐local email number month range search tel  
  • 30. NEW HTML5 Input Types color time date week datetime url datetime-­‐local email number month range search tel  
  • 31. Email URL advant age ant mobile Inst
  • 32. Gettin’ Sexy with CSS3 It’s the New Photoshop, YO!
  • 33. CSS3 SELECTORS * :first-­‐letter :nth-­‐last-­‐of-­‐type() E ::first-­‐letter :empty .class :first-­‐line :not() #id ::first-­‐line :target E  F E[attribute^=value] :enabled E  >  F E[attribute$=value] :disabled E  +  F E[attribute*=value] :checked E[attribute] E  ~  F E[attribute=value] :root E[attribute~=value] :last-­‐child E[attribute|=value] :only-­‐child :first-­‐child :nth-­‐child() :lang() :nth-­‐last-­‐child() :before :first-­‐of-­‐type ::before :last-­‐of-­‐type :after :only-­‐of-­‐type ::after :nth-­‐of-­‐type()
  • 34. CSS3 SELECTORS * :first-­‐letter :nth-­‐last-­‐of-­‐type() E ::first-­‐letter :empty .class :first-­‐line :not() #id ::first-­‐line :target E  F E[attribute^=value] :enabled E  >  F E[attribute$=value] :disabled E  +  F E[attribute*=value] :checked E[attribute] E  ~  F E[attribute=value] :root E[attribute~=value] :last-­‐child E[attribute|=value] :only-­‐child :first-­‐child :nth-­‐child() :lang() :nth-­‐last-­‐child() :before :first-­‐of-­‐type ::before :last-­‐of-­‐type :after :only-­‐of-­‐type ::after :nth-­‐of-­‐type()
  • 35.
  • 38. TExt Shadow text-­‐shadow:  1px  1px  0  #d2572b;} Fancy Button
  • 39. Box Shadow -­‐moz-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0   0  3px;  -­‐webkit-­‐box-­‐ shadow:rgba(218,218,218,.6)  0  0  0  3px; box-­‐shadow:rgba(218,218,218,.6)  0  0  0   3px;   Fancy Button
  • 40. Background Gradient background:-­‐moz-­‐linear-­‐gradient(center   top,  #eb9972,  #e67646  55%,  #d2572b);   background:-­‐webkit-­‐gradient(linear,  0%   0%,  0%  100%,  from(#eb9972),  color-­‐ stop(0.55,  #e67646),  to(#d2572b)); Fancy Button
  • 41. Anatomy of a CSS3 Button .btn-­‐primary  {padding:.5em  .9em;  background:   #e67646;  background:-­‐webkit-­‐gradient(linear,  0%  0%,   0%  100%,  from(#eb9972),  color-­‐stop(0.55,  #e67646),   to(#d2572b));  background:-­‐moz-­‐linear-­‐ gradient(center  top,  #eb9972,  #e67646  55%,   #d2572b);  -­‐moz-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0   0  3px;  -­‐webkit-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0   0  3px;  box-­‐shadow:rgba(218,218,218,.6)  0  0  0  3px;   border-­‐radius:6px;  border:1px  solid  #bc6647;  -­‐moz-­‐ box-­‐shadow:#ddd  0  0  0  2px;  -­‐webkit-­‐box-­‐shadow:#ddd   0  0  0  2px;  font-­‐size:  1.375em;  font-­‐weight:  500;   color:  #fff;  text-­‐shadow:  1px  1px  0  #d2572b;}
  • 42. Anatomy of a CSS3 Button .btn-­‐primary  {padding:.5em  .9em;  background:   #e67646;  background:-­‐webkit-­‐gradient(linear,  0%  0%,   0%  100%,  from(#eb9972),  color-­‐stop(0.55,  #e67646),   to(#d2572b));  background:-­‐moz-­‐linear-­‐ gradient(center  top,  #eb9972,  #e67646  55%,   #d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐border-­‐ radius:6px;  border-­‐radius:6px;  border:1px  solid   #bc6647;  -­‐moz-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  0   3px;  -­‐webkit-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  0   3px;  box-­‐shadow:rgba(218,218,218,.6)  0  0  0  3px;   font-­‐size:  1.375em;  font-­‐weight:  500;  color:  #fff;   text-­‐shadow:  1px  1px  0  #d2572b;}
  • 43. Anatomy of a CSS3 Button .btn-­‐primary  {padding:.5em  .9em;  background:   #e67646;  background:-­‐webkit-­‐gradient(linear,  0%  0%,   0%  100%,  from(#eb9972),  color-­‐stop(0.55,  #e67646),   to(#d2572b));  background:-­‐moz-­‐linear-­‐ gradient(center  top,  #eb9972,  #e67646  55%,   #d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐border-­‐ radius:6px;  border-­‐radius:6px;  border:1px  solid   #bc6647;  -­‐moz-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  0   3px;  -­‐webkit-­‐box-­‐shadow:rgba(218,218,218,.6)  0  0  0   3px;  box-­‐shadow:rgba(218,218,218,.6)  0  0  0  3px;   font-­‐size:  1.375em;  font-­‐weight:  500;  color:  #fff;   text-­‐shadow:  1px  1px  0  #d2572b;}
  • 44. Anatomy of a CSS3 Button .btn-­‐primary  {padding:.5em  .9em;  background:   #e67646;  background:-­‐webkit-­‐gradient(linear,  0%   0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,   #e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐ gradient(center  top,  #eb9972,  #e67646  55%,   #d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐ border-­‐radius:6px;  border-­‐radius:6px;  border:1px   solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐ box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐ weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0   #d2572b;}
  • 45. fun ctio nal olo r/H i-fi Hi- fi c
  • 46. ece s fi rst all the pi Bu ild
  • 47. ith jQu ery t eracti on w dd som e in A
  • 48. se lf h eal f th at s exy e som eo Showm
  • 49.
  • 50. Resources HTML5 Spec http://www.w3.org/TR/html5 CSS3 Spec http://www.w3.org/Style/CSS/current-­‐work.en.html   HTML5SHIV http://html5shiv.googlecode.com/svn/trunk/html5.js Modernizer http://modernizr.com Dive Into HTML5 http://diveintohtml5.org HTML5/CSS3 http://realworldcss3.com/resources/ REFRAMER APP http://getreframer.com
  • 51. Prototyping: a Practitioner’s Guide R us s U nger http://bit.ly/protobk T odd Zaki W ar f el G uer r a UX R es ear c h M et ho d s T hr i f t y, Fas t , and Ef f ect i v e U s er Ex per i ence R es ear ch T echni ques Guerrilla UX Research Methods Fall of 2011 @zakiwarfel