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

Designing with Grid — for UIE's All You Can Learn

Jen Simmons
March 23, 2017

Designing with Grid — for UIE's All You Can Learn

Find a video of this presentation at: https://aycl.uie.com

Jen Simmons

March 23, 2017
Tweet

More Decks by Jen Simmons

Other Decks in Design

Transcript

  1. <body> <header>…</header> <main> <article> <h1> <p> <p> <p> <figure> <p>

    </article> </main> <aside>…</aside> <footer>…</footer> </body> body { display: grid; }
  2. <body> <header>…</header> <main> <article> <h1> <p> <p> <p> <figure> <p>

    </article> </main> <aside>…</aside> <footer>…</footer> </body> body { display: grid; } article { display: grid; }
  3. “ — The Vignelli Canon Great designs can be achieved

    without the use of 
 the grid, but the grid is a very useful tool to guarantee results. Ultimately the most important tool is the management of the white space in layouts. It is the white space that makes the layout sing. Bad layouts have no space left for breathing — every little space is covered by a cacophony of type sizes, images, and screaming titles.
  4. You define !e size and/or number of rows and/or columns

    Let !e browser define number or size of rows (or columns)
  5. Place each "em 
 into a specific 
 cell or

    area Let !e browser place every!ing using auto-placement algor"hm
  6. ul { display: grid; grid-template-columns: repeat(5, 16vw); grid-template-rows: repeat(12, 16vw);

    grid-gap: 2vw; } li:nth-child(1) { grid-row-start: 1; grid-column-start: 2; }
  7. 1 2 3 4 5 6 Grid Line Numbers Line

    Numbers, not track numbers — different than what we are used to! 1 2 3 4 5
  8. 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;
  9. .item { grid-column-start: 2; grid-column-end: 4; grid-row-start: 1; grid-row-end: 3;}

    .item { grid-column: 2 / 4; grid-row: 1 / 3; } .item { grid-area: 1 / 2 / 3 / 4; } 1 2 3 4 grid-column: 2 / 4; grid-row: 1 / 3; 1 2 3 4 5
  10. li:nth-child(1) { grid-row: 1 / 4; grid-column: 1 / 4;

    } li:nth-child(2) { grid-row: 3 / 6; grid-column: 3 / 6; }
  11. Storyboards for Star Wars, directed by George Lucas. Spartacus, directed

    by Stanley Kubrick. Storyboards created by Saul Bass.
  12. what does it mean to have a 
 reading experience

    with 
 a frame, where things move in and out of that frame?
  13. what does it mean to have a 
 interaction experience

    with a frame, where things move in and out of that frame?
  14. This is a phrase with several words. This is a

    phrase with several words. This is a phrase with several words.
  15. 100% 32% 32% 32% 2em 2em @media (min-width: 600px) {

    .box { width: calc(100-(2*2em)/3)%;}} @media (min-width: 800px) { .box { width: calc(100-(3*2em)/4)%;}} @media (min-width: 400px) { .box { width: calc(100-(1*2em)/2)%;}}
  16. // simplified layout // for older browsers @supports (display: grid)

    { // code for newer browsers // including overrides }
  17. Modern Layouts: 
 Getting Out of Our Ruts Revolutionize Your

    Page: 
 Real Art Direction on the Web 2015 2016 available on jensimmons.com