Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Revolutionize Your Page — early summer 2016

Jen Simmons
June 24, 2016

Revolutionize Your Page — early summer 2016

Demo, links and more at http://labs.jensimmons.com

We finally have the tools necessary to create amazing page designs on the web. Now we can art direct our layouts, leveraging the power and tradition of graphic design. In this eye-opening talk, Jen will explore concrete examples of an incredible range of new possibilities. She’ll walk through a step-by-step design process for figuring out how to create a layout as unique as your content. You’ll learn how Flexbox, Grid, Shapes, Multicolumn, Viewport Units, and more can be combined together to revolutionize how you approach the page — any page.

Jen Simmons

June 24, 2016
Tweet

More Decks by Jen Simmons

Other Decks in Design

Transcript

  1. Revolutionize Your Page: Real Art Direction 
 on the Web

    Jen Simmons labs.jensimmons.com thewebahead.net @jensimmons
  2. “ ” The vast majority of editorial [design] has at

    its heart the idea of communicating an idea of story through the organization and presentation 
 of words (arranged into display and body text) and visuals. — Cath Caldwell & Yolanda Zappaterra Editorial Design, page 8
  3. “ ” The vast majority of editorial [design] has at

    its heart the idea of communicating an idea of story through the organization and presentation 
 of words (arranged into display and body text) and visuals. — Cath Caldwell & Yolanda Zappaterra Editorial Design, page 8
  4. “ ” The vast majority of editorial [design] has at

    its heart the idea of communicating an idea of story through the organization and presentation 
 of words (arranged into display and body text) and visuals. — Cath Caldwell & Yolanda Zappaterra Editorial Design, page 8
  5. div { width: 400px; padding: 25px; } What is the

    size of the <div> box? Internet Explorer: 400px Everyone else: 450px
  6. div { width: 400px; padding: 25px; } What is the

    calculated size of the box? Everyone: 400px
  7. Amazing future! The No-layout Layout Table-based Layouts Hand-coded Float Layouts

    The Official Timeline of the Evolution of Web Page Layout 3rd-Party Framework Layouts
  8. @supports (initial-letter: 4 ) or (-webkit-initial-letter: 4 ) { p::first-letter

    { color: rgba(255,190,150,0.9); font-weight: bold; margin-right: 0.5em; margin-top: 1em; // bug fix -webkit-initial-letter: 4; initial-letter: 4; } }
  9. // layout using old-technology @supports (display:grid) { // overrides to

    undo old layout // layout using new-technology }
  10. Anyplace you might use em, rem, %, px you can

    instead use: vh viewport height vw viewport width vmin smaller viewport number vmax larger viewport number
  11. img.grapes { float: left; shape-outside: polygon(nonzero, 72.35% 83.95%, 45.5% 94.3%,

    0% 100%, 0% 88.4%, 0% 23.7%, 38.7% 11.35%, 55% 11.1%, 63.5% 22.7%, 72.15% 20.75%, 79.1% 30.6%, 79.8% 34.55%, 87.6% 43.95%, 83.7% 57.3%, 89.15% 65.7%, 92.55% 72.1%, 91.15% 83.2%); }
  12. 1 2 3 4 5 7 6 8 9 10

    11 12 13 grid-auto-flow: dense;
  13. 1 2 3 4 5 6 grid-column: 1 / 2;

    grid-row: 1 / 2; grid-column: 5 / 6; grid-row: 1 / 2; grid-column: 2 / 4; grid-row: 2 / 3; grid-column: 3 / 5; grid-row: 3 / 5; 1 2 3 4 5 grid-column: 1 / 2; grid-row: 4 / 5;
  14. Behind a flag Chrome Chrome Canary Opera Opera Developer Safari

    Technical Preview Just Works Firefox Firefox 
 Dev Edition Firefox 
 Nightly IE Edge In Progress