three for five syllabus

Upload: sebastien-j-park

Post on 14-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Three for Five Syllabus

    1/186

  • 7/30/2019 Three for Five Syllabus

    2/186

  • 7/30/2019 Three for Five Syllabus

    3/186

  • 7/30/2019 Three for Five Syllabus

    4/186

  • 7/30/2019 Three for Five Syllabus

    5/186

  • 7/30/2019 Three for Five Syllabus

    6/186

  • 7/30/2019 Three for Five Syllabus

    7/186

  • 7/30/2019 Three for Five Syllabus

    8/186

  • 7/30/2019 Three for Five Syllabus

    9/186

    A group of introductory ornavigational aids.

    OMG, Look at the Zombies!

    OMG, Look at the Zombies!

  • 7/30/2019 Three for Five Syllabus

    10/186

    We Are Family

    OMG, Look at the Zombies!

  • 7/30/2019 Three for Five Syllabus

    11/186

    A Section of the page that links to other pages on the

    site, or to other sections of that particular page.

    Its a navigation area.

    http://frankchimero.com

  • 7/30/2019 Three for Five Syllabus

    12/186

    HomeAbout/li>WorkShop

    Contact

    HomeAbout/li>WorkShop

    Contact

  • 7/30/2019 Three for Five Syllabus

    13/186

    A grouping of content basedaround a theme.

    Can replace some elements Must be able to stand alone

  • 7/30/2019 Three for Five Syllabus

    14/186

    ACC Basketball NewsUNC Beats Duke In Championship Game!

    The Blue Devils are routed by the Tarheels atCameron Indoor Stadium.

    ACC BASKETBALL NEWS

    ACC Basketball NewsUNC Beats Duke In Championship Game!

    The Blue Devils are routed by the Tarheels atCameron Indoor Stadium.

  • 7/30/2019 Three for Five Syllabus

    15/186

    An independent, self-contained composition.

    News posts, Magazine Articles, User Comments A Section can contain multiple articles

    ACC Basketball NewsUNC Beats Duke In Championship Game!

    The Blue Devils are routed by the Tarheels atCameron Indoor Stadium.

  • 7/30/2019 Three for Five Syllabus

    16/186

    ACC Basketball News

    UNC Beats Duke In Championship Game!

    The Blue Devils are routed by the Tarheels atCameron Indoor Stadium.

  • 7/30/2019 Three for Five Syllabus

    17/186

    One way to check if article is the mostappropriate element is to see if an articlescontent makes sense on its own; For example,

    would it make sense on its own when viewed in anRSS reader like Reeder for the iPad.

    Hardboiled Web Design, Andy Clarke, pg 95

  • 7/30/2019 Three for Five Syllabus

    18/186

    Content related to an article but not critical to its

    understanding.

    i.e. the airspeed velocity of an unladen swallowpull quotes, callouts, etc

    UNC Beats Duke In Championship Game

    The Blue Devils are routed by the Tarheels at

    Cameron Indoor Stadium.

    Former Duke Players Cry at Games End

  • 7/30/2019 Three for Five Syllabus

    19/186

    Includes information that closes out a particular section

    doesnt have to be only at the bottom of the page. Add the tag to any containing element

    Talk to Me Goose

    2011 Maverick & Goose Ventures.

    Talk to Me Goose

    2011 Maverick & Goose Ventures.

  • 7/30/2019 Three for Five Syllabus

    20/186

    Top Gun

    Hes too close, Im switching to guns...

    Highway to the Danger Zone

  • 7/30/2019 Three for Five Syllabus

    21/186

  • 7/30/2019 Three for Five Syllabus

    22/186

  • 7/30/2019 Three for Five Syllabus

    23/186

    REMY SHARPs HTML5 SHIV

  • 7/30/2019 Three for Five Syllabus

    24/186

  • 7/30/2019 Three for Five Syllabus

    25/186

  • 7/30/2019 Three for Five Syllabus

    26/186

  • 7/30/2019 Three for Five Syllabus

    27/186

    border-radius

    Rounds the corner(s) of an element with a defined

    radius value

    .thats-no-moon{border-radius: 10px;}

    .thats-no-moon{-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;

    }

    h d

  • 7/30/2019 Three for Five Syllabus

    28/186

    adds a vertical & horizontal offset shadow to text(ability to control direction, blur, and color of shadow)

    p {text-shadow: 0px -1px 1px #000;}

    X offset

    http://design-swap.com

    Y offset BLUR

    text-shadow

    b h d

  • 7/30/2019 Three for Five Syllabus

    29/186

    adds a shadow to a non-text element(identical syntax to text-shadow)

    .vermeer {-webkit-box-shadow: 4px 4px 5px #282b1f;-moz-box-shadow: 4px 4px 5px #282b1f;box-shadow: 4px 4px 5px #282b1f;

    }

    box-shadow

    b h d

  • 7/30/2019 Three for Five Syllabus

    30/186

    adds a shadow to a non-text element(identical syntax to text-shadow)

    .vermeer {-webkit-box-shadow: inset 4px 4px 5px #282b1f;-moz-box-shadow: inset 4px 4px 5px #282b1f;box-shadow: inset 4px 4px 5px #282b1f;

    }

    box-shadow

    G

  • 7/30/2019 Three for Five Syllabus

    31/186

    a new model for defining color in your stylesheet

    .full-of-it {color: rgba(223, 231, 177, 0.5);}

    IM FULL OF COLOR

    RGBa

    HSL

  • 7/30/2019 Three for Five Syllabus

    32/186

    Alternative model for defining color in your stylesheet

    .full-of-it {color: hsla(75, 58, 80, .5);}

    1. hue - Values between 1 and 360 deg2. Saturation - Values Between 0 and 100%3. Light - Values Between 0 and 100%4. Alpha - transparency value

    HSLa

    IM FULL OF COLOR

  • 7/30/2019 Three for Five Syllabus

    33/186

    http://mattpatenaude.com/

  • 7/30/2019 Three for Five Syllabus

    34/186

    http://css-tricks.com/examples/HSLaExplorer/

    it

  • 7/30/2019 Three for Five Syllabus

    35/186

    DefineS how opaque an image or an object can be.

    .full-of-it {opacity: 0.5;}

    opacity

    t f

  • 7/30/2019 Three for Five Syllabus

    36/186

    CSS Transforms allow elements rendered by CSSto be transformed in two-dimensional space.

    http://dribbble.com

    transform

    ul.colors li a {float:left;width: 50px;

    }

    t f

  • 7/30/2019 Three for Five Syllabus

    37/186

    http://dribbble.com

    transform

    ul.colors li a:hover {-webkit-transform: scale(1.5);-moz-transform: scale(1.5);-o-transform: scale(1.5);

    transform: scale(1.5);}

    rotate(-10deg)

    scale(1.5)

    skew(-10deg, 15deg)

    translate(25px, 50px)

    CSS Transforms allow elements rendered by CSSto be transformed in two-dimensional space.

    t iti

  • 7/30/2019 Three for Five Syllabus

    38/186

    THATS NO MOON ITS A TRANSITION

    transitionCSS Transitions allow property changes in CSSvalues to occur smoothly over a specified

    duration of time.

    di t

  • 7/30/2019 Three for Five Syllabus

    39/186

    CSS Gradients create a transition from one

    color to another without the use of images

    THATS NO MOON

    http://www.we

    stciv.com/too

    ls/gradients

    /

    gradients

    di t

  • 7/30/2019 Three for Five Syllabus

    40/186

    .thats-no-moon{-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;background: #a4b183;background-image:-webkit-gradient(linear, 0% 0%,0% 100%, from(#A4B183), to(#C2D19B));

    background-image:-moz-linear-gradient(19% 75%90deg,#A4B183, #C2D19B);

    }

    gradients

    THATS NO MOON

    CSS Gradients create a transition from one

    color to another without the use of images

    multiple

  • 7/30/2019 Three for Five Syllabus

    41/186

    CSS3 allows us to add multiple background imagesto our page or within our page.

    http://lostworldsfairs.com/eldorado/

    multiple

    backgrounds

    multiple

  • 7/30/2019 Three for Five Syllabus

    42/186

    body {min-width:1116px;background-color:#d7d4c3;

    background:url(../img/bg.jpg) no-repeat center top;background:url(../img/bg.jpg) no-repeat center top, url(../img/tile.jpg) repeat center top;

    }

    multiplebackgrounds

    CSS3 allows us to add multiple background imagesto our page or within our page.

    multiple

  • 7/30/2019 Three for Five Syllabus

    43/186

    multiple

    backgrounds

    http://www.danhigbie.com/2011/02/05/being-better-in-3-easy-steps-design-edition/

    multiple

  • 7/30/2019 Three for Five Syllabus

    44/186

    multiple

    backgrounds

    http://www.danhigbie.com/2011/02/05/being-better-in-3-easy-steps-design-edition/

  • 7/30/2019 Three for Five Syllabus

    45/186

  • 7/30/2019 Three for Five Syllabus

    46/186

    Arial

    Helvetica

    Georgia

    Times New Roman

  • 7/30/2019 Three for Five Syllabus

    47/186

    .otf .ttf .woff

    Hardboiled Web Design, Andy Clarke, pg 761

    @font face

  • 7/30/2019 Three for Five Syllabus

    48/186

    1. A font file2. An @font-face declaration3. normal font stack

    @font-face {

    font-family: League Gothic;src: url(fonts/LeagueGothic.ttf)format(truetype);}

    h1 {font-family: League Gothic, Arial, sans-serif;}

    @font-face

    @font face

  • 7/30/2019 Three for Five Syllabus

    49/186

    @font-face

  • 7/30/2019 Three for Five Syllabus

    50/186

  • 7/30/2019 Three for Five Syllabus

    51/186

    CSS3 FOR WEb designers, Dan Cederholm, pg 7

  • 7/30/2019 Three for Five Syllabus

    52/186

    the most valuable tool

    in your arsenal is still yourcreative mind.

  • 7/30/2019 Three for Five Syllabus

    53/186

  • 7/30/2019 Three for Five Syllabus

    54/186

  • 7/30/2019 Three for Five Syllabus

    55/186

  • 7/30/2019 Three for Five Syllabus

    56/186

  • 7/30/2019 Three for Five Syllabus

    57/186

  • 7/30/2019 Three for Five Syllabus

    58/186

    Border &Radius Brewhouse

    HomeAboutFoodBeer

    CateringLocationsContact

  • 7/30/2019 Three for Five Syllabus

    59/186

    Border &Radius Brewhouse

    HomeAboutFood

    BeerCateringLocationsContact

  • 7/30/2019 Three for Five Syllabus

    60/186

  • 7/30/2019 Three for Five Syllabus

    61/186

    Border &Radius Brewhouse

    HomeAboutFood

    BeerCateringLocationsContact

  • 7/30/2019 Three for Five Syllabus

    62/186

    Border &Radius Brewhouse

  • 7/30/2019 Three for Five Syllabus

    63/186

    #better-beer{ float: left; width: 230px; height: 152px; background: url(../images/better-beer.png) no-repeat;}

    #better-beer{ float: left; width: 230px; height: 152px; background: url(../images/better-beer.png) no-repeat; opacity: .65;}

    #better-beer:hover { opacity: 1;}

  • 7/30/2019 Three for Five Syllabus

    64/186

  • 7/30/2019 Three for Five Syllabus

    65/186

    #menu-promo{ float: right; width: 274px; height: 154px; background: url(../images/menu-items.png) no-repeat;}

    #menu-promo{ float: right; width: 274px; height: 154px; background: url(../images/menu-items.png) no-repeat; opacity: .65;}

    #menu-promo:hover { opacity: 1;}

  • 7/30/2019 Three for Five Syllabus

    66/186

  • 7/30/2019 Three for Five Syllabus

    67/186

    transition-property

    #logo{ position: absolute; top: 8px; left: 390px; width: 141px; height: 144px; background: url(../images/logo.png) no-repeat;

    transition-duration transition-timing-function

    #logo:hover { opacity: .70;}

    -webkit-transition: opacity .2s ease-in-out; -moz-transition: opacity .2s ease-in-out; -o-transition: opacity .2s ease-in-out; transition: opacity .2s ease-in-out;}

    }

  • 7/30/2019 Three for Five Syllabus

    68/186

    @font-face {font-family: 'DroidSansBold';src: url('fonts/DroidSans-Bold-webfont.eot');src: local(''), url('fonts/DroidSans-Bold-webfont.woff')format('woff'), url('fonts/DroidSans-Bold-webfont.ttf')format('truetype'), url('fonts/DroidSans-Bold-

    webfont.svg#webfontSOhoM6aS') format('svg');font-weight: bold;font-style: normal;

    }

  • 7/30/2019 Three for Five Syllabus

    69/186

    #primary { width: 100%; height: 28px; background-color: #fafaf6; margin-top: 10px; margin-bottom: 20px; padding-top: 14px; font: bold 13px "DroidSansBold", Verdana, sans-serif; text-transform: uppercase; letter-spacing: 1px;}

    #primary ul li { display: inline; padding-left: 43px;}

    #primary li a { padding: 5px 15px; color: #64645d;}

    #primary li a:hover { color: #dc692e; background: #efefe9;}

  • 7/30/2019 Three for Five Syllabus

    70/186

    #primary { width: 100%; height: 28px; background-color: #fafaf6; margin-top: 10px;margin-bottom: 20px; padding-top: 14px; -webkit-box-shadow: 0px 1px 2px #ccc; -moz-box-shadow: 0px 1px 2px #ccc; box-shadow: 0px 1px 2px #ccc; font: bold 13px "DroidSansBold", Verdana, sans-serif;

    text-transform: uppercase; letter-spacing: 1px;}

  • 7/30/2019 Three for Five Syllabus

    71/186

    #primary li a { padding: 5px 15px; color: #64645d; text-shadow: 1px 1px 1px #fff;}

    #primary li a {

    padding: 5px 15px; color: #64645d; text-shadow: 1px 1px 1px #fff; -webkit-border-radius: 5px; -moz-border-radius: 5px;border-radius: 5px;}

  • 7/30/2019 Three for Five Syllabus

    72/186

    #primary li a { padding: 5px 15px; color: #64645d; text-shadow: 1px 1px 1px #fff; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; transition: all .3s ease-in-out;}

  • 7/30/2019 Three for Five Syllabus

    73/186

  • 7/30/2019 Three for Five Syllabus

    74/186

  • 7/30/2019 Three for Five Syllabus

    75/186

  • 7/30/2019 Three for Five Syllabus

    76/186

  • 7/30/2019 Three for Five Syllabus

    77/186

  • 7/30/2019 Three for Five Syllabus

    78/186

    Beers on Tap 35Bottle Selections 150Beers Brewed on Site 8

    View Our Food MenuView Our Beer Menu

  • 7/30/2019 Three for Five Syllabus

    79/186

    Beers on Tap 35Bottle Selections 150Beers Brewed on Site 8

    View Our Food MenuView Our Beer Menu

  • 7/30/2019 Three for Five Syllabus

    80/186

  • 7/30/2019 Three for Five Syllabus

    81/186

  • 7/30/2019 Three for Five Syllabus

    82/186

    Latest NewsBorder & Radius Named to City's Best

    List

    Monday, January 26, 2011 | viaThe Newspaper

  • 7/30/2019 Three for Five Syllabus

    83/186

    Latest News

    Border & Radius Named to City's BestList

    Monday, January 26, 2011 | viaThe Newspaper

  • 7/30/2019 Three for Five Syllabus

    84/186

    Latest News

    Border & Radius Named to City's BestList

    Monday, January 26, 2011 | viaThe Newspaper

  • 7/30/2019 Three for Five Syllabus

    85/186

    Latest News

    Border & Radius Named to City's BestList

    Monday, January 26, 2011 | viaThe Newspaper

    Latest News

  • 7/30/2019 Three for Five Syllabus

    86/186

    Latest News

    Border & Radius Named toCity's Best List

    Monday, January 26,2011 | viaTheNewspaper

    Latest News

  • 7/30/2019 Three for Five Syllabus

    87/186

    Monday, January 26,2011 | viaThe

    Newspaper

    ISO-Format: YYYY-MM-DDThh:mm:ss

  • 7/30/2019 Three for Five Syllabus

    88/186

    Current Specials

    Order anything off the lunch menu and pair it with anyone of our beers on tap for just $7.77 during lunch hours(11.30p - 2p)

  • 7/30/2019 Three for Five Syllabus

    89/186

    Current Specials

    Order anything off the lunch menu and pair it with anyone of our beers on tap for just $7.77 during lunch hours(11.30p - 2p)

  • 7/30/2019 Three for Five Syllabus

    90/186

  • 7/30/2019 Three for Five Syllabus

    91/186

  • 7/30/2019 Three for Five Syllabus

    92/186

    #promotional { float: left;}

    #promotional img { float: left; border: 15px solid #fafaf6;}

    #promotional img { float: left; border: 15px solid #fafaf6; -webkit-box-shadow: 0px 1px 1px #ccc; -moz-box-shadow: 0px 1px 1px #ccc; box-shadow: 0px 1px 1px #ccc;}

  • 7/30/2019 Three for Five Syllabus

    93/186

  • 7/30/2019 Three for Five Syllabus

    94/186

    #promotional img:hover { -webkit-transform: scale(1.1) rotate(-2deg); -moz-transform: scale(1.1) rotate(-2deg); -o-transform: scale(1.1) rotate(-2deg); transform: scale(1.1) rotate(-2deg);}

  • 7/30/2019 Three for Five Syllabus

    95/186

  • 7/30/2019 Three for Five Syllabus

    96/186

    Beers on Tap 35Bottle Selections 150Beers Brewed on Site 8

    View Our Food MenuView Our Beer Menu

  • 7/30/2019 Three for Five Syllabus

    97/186

    #selections { float: right; width: 425px; margin-top: 15px;}

    #selections ul li { width: 316px;background: url(../images/divider.png) no-repeat bottomleft;font: normal 35px "LeagueGothicRegular", Tahoma, Arial,sans-serif; text-transform: uppercase;color: #787871; text-shadow: 1px 1px 1px #fff; position: relative; margin-bottom: 25px; letter-spacing: 1px;

    }

  • 7/30/2019 Three for Five Syllabus

    98/186

  • 7/30/2019 Three for Five Syllabus

    99/186

    #selections em { text-transform: lowercase; font-style: italic; font: normal 35px "MarketingScriptRegular", Georgia, serif; letter-spacing: 0;}

  • 7/30/2019 Three for Five Syllabus

    100/186

    #selections ul li.bottle { padding-bottom: 8px;}

    #selections span {position: absolute;top: -21px;right: -85px;font: normal 75px "LeagueGothicRegular", Tahoma, Arial,sans-serif;color: #dc692e;

    }

  • 7/30/2019 Three for Five Syllabus

    101/186

  • 7/30/2019 Three for Five Syllabus

    102/186

  • 7/30/2019 Three for Five Syllabus

    103/186

    Beers on Tap 35Bottle Selections 150Beers Brewed on Site 8

    View Our Food MenuView Our Beer Menu

  • 7/30/2019 Three for Five Syllabus

    104/186

    #promotional a.menu { width: 180px; height: 50px; padding: 20px 0 0 0; text-align: center; float: left; background: #d0d0c6; background: rgba(208, 208, 198, .5);

    margin: 10px 0 0 28px;color: #787871;font: normal 18px "LeagueGothicRegular", Tahoma, Arial,sans-serif; text-transform: uppercase; letter-spacing: 1px;

    border: 1px solid #d4d4cd;}

  • 7/30/2019 Three for Five Syllabus

    105/186

    #promotional a.menu { width: 180px; height: 50px; padding: 20px 0 0 0; text-align: center; float: left; background: #d0d0c6; background: rgba(208, 208, 198, .5); margin: 10px 0 0 28px; color: #787871; -webkit-border-top-left-radius: 10px;

    -moz-border-radius-topleft: 10px; border-top-left-radius: 10px; -webkit-border-bottom-right-radius: 10px; -moz-border-radius-bottomright: 10px; border-bottom-right-radius: 10px;

    font: normal 18px "LeagueGothicRegular", Tahoma, Arial, sans-serif; text-transform: uppercase; letter-spacing: 1px; border: 1px solid #d4d4cd; text-shadow: 1px 1px 1px #fff;}

  • 7/30/2019 Three for Five Syllabus

    106/186

    #promotional a.menu { ...-webkit-border-top-left-radius: 10px;

    -moz-border-radius-topleft: 10px; border-top-left-radius: 10px; -webkit-border-bottom-right-radius: 10px; -moz-border-radius-bottomright: 10px; border-bottom-right-radius: 10px;font: normal 18px "LeagueGothicRegular", Tahoma, Arial,sans-serif; text-transform: uppercase; letter-spacing: 1px; border: 1px solid #d4d4cd;-webkit-transition: all .3s ease-in-out;

    -moz-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; transition: all .3s ease-in-out; text-shadow: 1px 1px 1px #fff;}

  • 7/30/2019 Three for Five Syllabus

    107/186

    #promotional a.menu:hover {

    color: #dc692e; background: #ababa2; background: rgba(208, 208, 198, .9);}

    #promotional a.menu span {

    font: normal 24px "MarketingScriptRegular", Georgia, serif; text-transform: none; letter-spacing: 0;}

    #promotional .menu:last-child { float: right; margin-right: 25px;}

  • 7/30/2019 Three for Five Syllabus

    108/186

  • 7/30/2019 Three for Five Syllabus

    109/186

    #blocks { float: left; margin-top: 20px;}

    #blocks section { float: left; width: 290px; height: 215px; display: inline; background: #fafaf6; border: 5px solid #e9e9e4; margin-right: 30px;}

  • 7/30/2019 Three for Five Syllabus

    110/186

    #blocks section:last-child {

    margin-right: 0;}

    .box h1.script { font: normal 24px "MarketingScriptRegular", Georgia, serif;color: #717165; margin-left: 10px; padding: 5px 0 0 0; border-bottom: 1px solid #ecece9; width: 270px; text-align: left;

    }

  • 7/30/2019 Three for Five Syllabus

    111/186

    Latest NewsBorder & Radius Named toCity's Best List

    Monday, January 26,

    2011 | viaTheNewspaper

  • 7/30/2019 Three for Five Syllabus

    112/186

    .news-item h1 a { font: bold 12px "DroidSansBold", Verdana, sans-serif; color: #717165; text-transform: uppercase;}

    #news p a { color: #98988c;text-decoration: underline;}

    #news p a:hover { text-decoration: none;}

    #news p span.via { text-transform: none;}

  • 7/30/2019 Three for Five Syllabus

    113/186

    .news-item { margin-top: 6px; padding: 5px 0 5px 10px; width: 285px;-webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-radius-topright: 5px;

    -moz-border-radius-bottomright: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px;}

    }

  • 7/30/2019 Three for Five Syllabus

    114/186

    .news-item { margin-top: 6px; padding: 5px 0 5px 10px; width: 285px; -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px;}

    -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; -webkit-transition: width 0.3s linear, background 0.2s ease; -moz-transition: width 0.3s linear, background 0.2s ease; -o-transition: width 0.3s linear, background 0.2s ease; transition: width 0.3s linear, background 0.2s ease; }

  • 7/30/2019 Three for Five Syllabus

    115/186

    .news-item:hover { width: 300px; background: #d0d0c6; background: rgba(208, 208, 198, .5);}

  • 7/30/2019 Three for Five Syllabus

    116/186

    Current Specials

    Order anything off the lunch menu and pair it with anyone of our beers on tap for just $7.77 during lunch hours

    (11.30p - 2p)

  • 7/30/2019 Three for Five Syllabus

    117/186

    #specials { text-align: center;}

    #specials p { padding: 10px; font: normal 13px "DroidSansRegular", Verdana, Arial, sans-serif; color: #6a6a5d;}

    #specials img.price { margin-top: 15px;width: 87px;}

  • 7/30/2019 Three for Five Syllabus

    118/186

    #specials img.price:hover { -webkit-transform: rotate(-5deg); -moz-transform: rotate(-5deg); -o-transform: rotate(-5deg); transform: rotate(-5deg);}

  • 7/30/2019 Three for Five Syllabus

    119/186

  • 7/30/2019 Three for Five Syllabus

    120/186

  • 7/30/2019 Three for Five Syllabus

    121/186

  • 7/30/2019 Three for Five Syllabus

    122/186

  • 7/30/2019 Three for Five Syllabus

    123/186

    a) New input types

    b) Native placeholder textc) Auto focusd) Form validation

    - email- url- number- date

    - color- search

  • 7/30/2019 Three for Five Syllabus

    124/186

    a) New input types

    - email- url

  • 7/30/2019 Three for Five Syllabus

    125/186

    a) New input types- number- date- color

  • 7/30/2019 Three for Five Syllabus

    126/186

  • 7/30/2019 Three for Five Syllabus

    127/186

    Email Newsletter

    Name

    Email

  • 7/30/2019 Three for Five Syllabus

    128/186

    Email Newsletter

    Name

    placeholder="e.g.

    [email protected]" required />

  • 7/30/2019 Three for Five Syllabus

    129/186

    Email

    Email

  • 7/30/2019 Three for Five Syllabus

    130/186

  • 7/30/2019 Three for Five Syllabus

    131/186

    Our History

    We have a pretty awesome story about how we came to be. Itall started a long time ago, in a brewery far far away. Loremipsum dolor sit amet, consectetur adipisicing elit, sed doeiusmod tempor incididunt ut labore et dolore magnaaliqua.
    Read More

  • 7/30/2019 Three for Five Syllabus

    132/186

    Our History

    We have a pretty awesome story about how we came to be. Itall started a long time ago, in a brewery far far away. Loremipsum dolor sit amet, consectetur adipisicing elit, sed doeiusmod tempor incididunt ut labore et dolore magnaaliqua.
    Read More

  • 7/30/2019 Three for Five Syllabus

    133/186

    HomeAboutCases

    ServicesClientsContact

    2011 Codeschool.com, A Division ofEnvy Labs
    This is a fictional case study, although the author does enjoygreat food and better beer.

  • 7/30/2019 Three for Five Syllabus

    134/186

    HomeAboutCases

    ServicesClientsContact

    2011 Codeschool.com, A Division ofEnvy Labs
    This is a fictional case study, although the author does enjoygreat food and better beer.

  • 7/30/2019 Three for Five Syllabus

    135/186

  • 7/30/2019 Three for Five Syllabus

    136/186

  • 7/30/2019 Three for Five Syllabus

    137/186

    Email Newsletter

    Name

    Email

  • 7/30/2019 Three for Five Syllabus

    138/186

    #sign-up fieldset { margin: 10px 0 10px 10px; }

    #sign-up label { display: block; font: bold 14px "DroidSansBold", Verdana, sans-serif; line-height: 1.5em; color: #dc692e;}

    #sign-up fieldset:last-child { margin: 0; }

  • 7/30/2019 Three for Five Syllabus

    139/186

    #sign-up fieldset input[type="text"], #sign-up fieldset

    input[type="email"] { width: 250px; padding: 8px 8px; font-size: 12px; color: #89897e; border: 1px solid #e5e5dd; background: #f4f4ed;

    -webkit-border-radius: 5px;-moz-border-radius: 5px;-o-border-radius: 5px;border-radius: 5px; }

  • 7/30/2019 Three for Five Syllabus

    140/186

    #sign-up input[type="submit"] {fl i h

  • 7/30/2019 Three for Five Syllabus

    141/186

    float: right; margin-right: 10px; padding: 8px 15px; font: bold 12px "DroidSansBold", Verdana, sans-serif; text-transform: uppercase; line-height: 1; color: #787871; border: none;

    background-color: #e2e2d9; cursor: pointer;text-shadow: 1px 1px 1px #fff;-webkit-border-radius: 8px;-moz-border-radius: 8px;

    -o-border-radius: 8px;border-radius: 8px;

    }

    #sign-up input[type="submit"] {fl i h

  • 7/30/2019 Three for Five Syllabus

    142/186

    float: right; margin-right: 10px; padding: 8px 15px; font: bold 12px "DroidSansBold", Verdana, sans-serif; text-transform: uppercase; line-height: 1; color: #787871; border: none;

    background-color: #e2e2d9; cursor: pointer;text-shadow: 1px 1px 1px #fff;-webkit-border-radius: 8px;-moz-border-radius: 8px;

    -o-border-radius: 8px;border-radius: 8px;background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E2E2D9), to(#BDBDB5));background-image: -moz-linear-gradient(19% 75% 90deg,#BDBDB5,#E2E2D9);

    text-shadow: 1px 1px 1px #fff;-webkit-border-radius: 8px;-moz-border-radius: 8px;

    -o-border-radius: 8px;border-radius: 8px;

    }

    #sign-up input[type="submit"]:hover {

  • 7/30/2019 Three for Five Syllabus

    143/186

    #sign up input[type submit ]:hover { -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, .4);

    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, .4); box-shadow: 1px 1px 3px rgba(0, 0, 0, .4);}

  • 7/30/2019 Three for Five Syllabus

    144/186

  • 7/30/2019 Three for Five Syllabus

    145/186

    Our History

    We have a pretty awesome story about how we came to be. Itall started a long time ago, in a brewery far far away. Loremipsum dolor sit amet, consectetur adipisicing elit, sed doeiusmod tempor incididunt ut labore et dolore magnaaliqua.
    Read More

  • 7/30/2019 Three for Five Syllabus

    146/186

    #primary-foot { width: 940px; float: left; margin-top: 20px; padding: 10px; background: #e2e2d7; background: rgba(149, 149, 137, .15); border: 1px solid #d2d2c4;}

    #history {

  • 7/30/2019 Three for Five Syllabus

    147/186

    sto y { float: left; width: 300px; height: 150px; background: url(../images/history.png) no-repeat top left; opacity: .85; padding: 15px 0 0 225px; color: #6a6a5d; text-shadow: 1px 1px 1px #fff; clear: none;}

    #history h1 { font: bold 12px "DroidSansBold", Verdana, sans-serif; text-transform: uppercase;}

    #history p {

  • 7/30/2019 Three for Five Syllabus

    148/186

    font: normal 12px "DroidSansRegular", Verdana, sans-serif; line-height: 18px;}

    #history p a { text-decoration: underline; color: #6a6a5d;}

    #history p a:hover { text-decoration: none;}

  • 7/30/2019 Three for Five Syllabus

    149/186

  • 7/30/2019 Three for Five Syllabus

    150/186

    HomeAboutCasesServices

    ClientsContact

    2011 Codeschool.com, A Division of

    Envy Labs
    This is a fictional case study, although the author does enjoygreat food and better beer.

  • 7/30/2019 Three for Five Syllabus

    151/186

    #info {

    float: right; width: 325px; margin-top: 15px;}

    #info a, #info a:visited { color: #6a6a5d;}

    #info a:hover { text-decoration: underline;}

    #info ul li {

  • 7/30/2019 Three for Five Syllabus

    152/186

    #info ul li { display: inline; border-right: 1px solid #9f9f8f; padding: 0 5px 0 1px; font: bold 11px "DroidSansBold", Verdana, sans-serif; text-transform: uppercase; text-align: right;}

    #info ul li:last-child { border-right: none;}

    .copyright {

  • 7/30/2019 Three for Five Syllabus

    153/186

    background: url(../images/bottle.png) left no-repeat; opacity: .15; padding: 20px 0 0 35px; height: 67px; font: normal 10px "DroidSansRegular", Verdana, sans-serif; line-height: 16px; margin-top: 15px; color: #000000; -webkit-transition: opacity .3s ease-in-out; -moz-transition: opacity .3s ease-in-out; -o-transition: opacity .3s ease-in-out; transition: opacity .3s ease-in-out;}

    .copyright:hover { opacity: .5;}

  • 7/30/2019 Three for Five Syllabus

    154/186

  • 7/30/2019 Three for Five Syllabus

    155/186

  • 7/30/2019 Three for Five Syllabus

    156/186

  • 7/30/2019 Three for Five Syllabus

    157/186

  • 7/30/2019 Three for Five Syllabus

    158/186

    Sorry, no soup for you!

  • 7/30/2019 Three for Five Syllabus

    159/186

  • 7/30/2019 Three for Five Syllabus

    160/186

  • 7/30/2019 Three for Five Syllabus

    161/186

    http://brickify.com

  • 7/30/2019 Three for Five Syllabus

    162/186

    http://chromeexperiments.com/arcadefire/

  • 7/30/2019 Three for Five Syllabus

    163/186

    http://html5.labs.ap.org/

  • 7/30/2019 Three for Five Syllabus

    164/186

    i ti Change CSS Properties over time

  • 7/30/2019 Three for Five Syllabus

    165/186

    animation Change CSS Properties over timeas a set of keyframes

    transitions govern a state change, like

    from A to B.Animations create keyframe-basedchanges that can run on their own, evenwithout user input.

    i ti Change CSS Properties over time

  • 7/30/2019 Three for Five Syllabus

    166/186

    animation Change CSS Properties over timeas a set of keyframes

    X

    @-webkit-keyframes color-shift {

  • 7/30/2019 Three for Five Syllabus

    167/186

    @-webkit-keyframes color-shift {from {background: blue;}

    to {background: green;}}

    #awesome-sauce {

    -webkit-animation: color-shift 10s;}

    @-webkit-keyframes color-shift {

  • 7/30/2019 Three for Five Syllabus

    168/186

    @ webkit keyframes color shift {0% {background: blue;}25% {background: green;}50% {background: orange;}100% {background: purple;}

    }

    @-webkit-keyframes color-shift {from {background: blue;}

    to {background: green;}}

  • 7/30/2019 Three for Five Syllabus

    169/186

    http://www.w3schools.com/css3/css3 _animations.asp

  • 7/30/2019 Three for Five Syllabus

    170/186

  • 7/30/2019 Three for Five Syllabus

    171/186

    bottle POUR BUBBLES PUDDLE

    bottle

  • 7/30/2019 Three for Five Syllabus

    172/186

    bottle

    @-webkit-keyframes bottle { 0% {

    height: 67px;}7% {height: 67px;

    }95% {height: 0px;

    }

    100% {height: 0;

    }}

    @-moz-keyframes bottle {0% {height: 67px;

    }7% {height: 67px;

    }95% {height: 0px;

    }

    100% {height: 0;

    }}

    bottle#bottle:hover {

  • 7/30/2019 Three for Five Syllabus

    173/186

    bottle#bottle:hover {-moz-transform: rotate(165deg);-webkit-transform: rotate(165deg);transform: rotate(165deg);

    }

    #contents:hover {-moz-animation: bottle 10s linear 1 forwards;-webkit-animation: bottle 10s linear 1 forwards;animation: bottle 10s linear 1 forwards;

    }

    POUR

    @-webkit-keyframes pour {0% {

  • 7/30/2019 Three for Five Syllabus

    174/186

    POUR{

    background-position: 0 0;

    height: 0;}5% {background-position: 0 0;height: 0;

    }10% {background-position: 0 0;height: 75px;

    }95% {

    background-position: 0 0;height: 75px;

    }100% {background-position: 0 75px;height: 75px;

    POUR

  • 7/30/2019 Three for Five Syllabus

    175/186

    POUR

    @-webkit-keyframes pour-bubbles { 0% { background-position: 0 -75px; }100% { background-position: 0 0; }

    }@-moz-keyframes pour-bubbles {

    0% { background-position: 0 -75px; }100% { background-position: 0 0; }}

    POUR#pour div {

  • 7/30/2019 Three for Five Syllabus

    176/186

    POUR#pour div {background: url(../images/bubbles.png) 0 -75px no-repeat;

    height: 170px;width: 4px;-moz-animation: pour-bubbles 1.5s linear infinite;-webkit-animation: pour-bubbles 1.5s linear

    infinite;animation: pour-bubbles 1.5s linear infinite;

    }

    #pour:hover {display: block;

    -moz-animation: pour 9.8s linear 1;-webkit-animation: pour 9.8s linear 1;animation: pour 9.8s linear 1;

    }

    PUDDLE

  • 7/30/2019 Three for Five Syllabus

    177/186

    PUDDLE

    @-webkit-keyframes puddle {10% {height: 0;

    }15% {height: 5px;

    }98% {height: 5px;

    }

    100% {height: 0;

    }}

    @-moz-keyframes puddle {10% {height: 0;

    }15% {height: 5px;

    }98% {height: 5px;

    }

    100% {height: 0;

    }}

    POUR

  • 7/30/2019 Three for Five Syllabus

    178/186

    POUR

    .copyright:hover #puddle {-moz-animation: puddle 10s linear 1;-webkit-animation: puddle 10s linear 1;animation: puddle 10s linear 1;

    }

  • 7/30/2019 Three for Five Syllabus

    179/186

    http://trentwalton.com/bgclip/

  • 7/30/2019 Three for Five Syllabus

    180/186

  • 7/30/2019 Three for Five Syllabus

    181/186

    http://paravelinc.com

    http://trentwalton.com

  • 7/30/2019 Three for Five Syllabus

    182/186

  • 7/30/2019 Three for Five Syllabus

    183/186

  • 7/30/2019 Three for Five Syllabus

    184/186

  • 7/30/2019 Three for Five Syllabus

    185/186

  • 7/30/2019 Three for Five Syllabus

    186/186