A presentation at An Event Apart Orlando: Special Edition 2016 in in Orlando, FL, USA by Jen Simmons
Revolutionize Your Page: Real Art Direction on the Web Jen Simmons labs.jensimmons.com thewebahead.net @jensimmons
art direction
brand
conversation
ART DIRECTION
Art Direction
Art Direction
Editorial Design
!
e 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
“
”
!
e 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
“
”
!
e 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
“
”
drawing by Dave Ellis novolume.co.uk
Stephen Waller at Enhance Conf expressing how BORED he is with web design today.
Layout shouldn’t be a multiple choice question.
Separate tooling needs from the design process.
Don’t make a framework out of CSS Grid. CSS Grid is a framework —
built right into the browser.
Layout Design
Amazing Future
The Official Timeline of the Evolution of Web Page Layout
labs.jensimmons.com
Big Pieces & Little Pieces
Initial Letter
p::first-letter {
color: rgba(255,190,150,0.9);
font-weight: bold;
margin-right: 0.5em;
-webkit-initial-letter: 4; initial-letter: 4;
}
p::first-letter {
color: rgba(255,190,150,0.9);
font-weight: bold;
margin-right: 0.5em;
-webkit-initial-letter: 4; initial-letter: 4;
}
@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;
-webkit-initial-letter: 4; initial-letter: 4; }
}
Feature Queries
@supports (property:value) { // a bunch of CSS
}
// layout using old-tech nology @supports (display:grid) { // overrides to undo old layout
// layout using new-technology
}
https://hacks.mozilla.org/2016/08/using-feature-queries-in-css/
Viewport Units
h1 { margin: auto;
}
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
25vw
50vh
that
dang
“fold”
Object Fit
img { width: 50%; height: 400px; object-fit: cover; }
Clip Path
img { clip-path: polygon(0% 0%,
100% 3%, 98% 99%, 3% 93%); }
CSS Shapes
img {
float: left;
shape-outside: circle();
}
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%); }
Rectangular Shapes Images Specified in Both Dimensions Sizing Based on Edges
Big Pieces
Flexbox Multicolumn CSS Grid
Flexbox
Multicolumn
CSS Grid Layout
css-tricks.com/snippets/css/a-guide-to-flexbox
Alignment
From CSS Box Alignment Module Level 3 — drafts.csswg.org/css-align
From CSS Box Alignment Module Level 3 — drafts.csswg.org/css-align
flexboxdefense.com flexboxfroggy.com
Many Ways to Use CSS Grid
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;
Place
each item
into a specific
cell/area
Let the browser
place everything
using
autoplacement
a
lgorithm
body { background: #F0F0F0; } main {
display: grid; grid-template-columns:
repeat(auto-fit, minmax(280px, 1fr)); } figure { margin: 0; } img { display: block; width: 100%; box-shadow: -1px 0px 0px
rgba(0,0,0,0.06); }
main { display: grid; grid-template-columns:
repeat(auto-fit, minmax(280px, 1fr)); }
13 11 8 9 10 7 6 5 1 2 3 4 12 auto placement algorithm
13 11 8 9 10 7 6 5 1 2 3 4 12 grid-auto-flow: dense;
When? / Where?
Behind a flag
Just Works
On Its Way
Chrome
Chrome
Canary
Opera
Opera
Developer
Firefox
Firefox
Dev Edition
Safari Technical
Preview
Firefox
Nightly
Edge
Safari
IE old spec in IE10+ -ms-* prefix
nightly.mozilla.org
addons.mozilla.org/addon/css-grid-inspector
Process
Choose one of the following: B. C. A. D. E.
Organize Content.
Create HTML file, set source order.
Sketch Ideas for Page Layout.
Design a custom grid.
Apply CSS. Write your own layout.
Organize content. 2. Create HTML file, set source order. 3. Sketch ideas for page layout. 4. Design a custom grid. 5. Apply CSS. Write your own layout code.
How Now?
Works
Doesn’t
work
Use It Don’t Use It
Works
Doesn’t
work
Use It
Don’t
Use It
Works
Doesn’t
work
Use It
Don’t
Use It
Works
Doesn’t
work
Use It
Don’t
Use It
Works
Doesn’t
work
Use It
Don’t
Use It
Fired.
Works
Doesn’t
work
Use It
Don’t
Use It
Fired.
Works
Doesn’t
work
Use It
Don’t
Use It
Fired.
✔
Works
Doesn’t
work
Use It
Don’t
Use It
Works and
Doesn’t Work
Use It and
Don’t Use It
Don’t
Use It
X
Works and
Doesn’t Work
Use It and
Don’t Use It
Don’t
Use It
Progressive Enhancement & The Nature of CSS
65% 35%
95% 5%
88% 12%
100% 0%
30-45% without 55-70% with CSS Grid Spring 2017
jensimmons.com/ presentation/ progressing-our- layouts
jensimmons.com/ presentation/ modern-layouts- getting-out-our- ruts
LABS.JENSIMMONS.COM
www.layout.land
Thanks! Jen Simmons labs.jensimmons.com jensimmons.com layout.land thewebahead.net @jensimmons
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.
Here’s what was said about this presentation on social media.
My #sketchnotes from @jensimmons' talk on revolutionize your page: real art direction on the web. Awesome #aeaorl pic.twitter.com/N34kJCt4Yp
— Chaunce 'Red' Dolan (@RedDolan) October 3, 2016
You don't have to hold the 5% of people hostage until the other 95% of people can experience/see the same thing @jensimmons #aeaorl
— Chaunce 'Red' Dolan (@RedDolan) October 3, 2016
#Unikitten for the win! @jensimmons #aeaorl
— Quinn Roberts (@QuinnRoberts) October 3, 2016
.@jensimmons has got me super hyped for all the new / imminent CSS features. Gonna have so much fun with this stuff! #aeaorl #webdesign
— James Nash (@c1rrus) October 3, 2016
.@jensimmons gives us yet another reason to write semantic mark-up: Virtual assistants may one day read pages to us! #aeaorl #webdesign
— James Nash (@c1rrus) October 3, 2016
The brilliant Jen Simmons closes #AEAORL Day I with a talk on real art direction for the web. @jensimmons pic.twitter.com/kkTRkJxfhA
— zeldman (@zeldman) October 3, 2016
Changing up the visual order of content while staying semantic and progressive. Clutch! #aeaorl @jensimmons
— Danelle Bailey (@danellesheree) October 3, 2016
what?? the shape-outside CSS property just blew my damn mind. @jensimmons #aeaorl
— kalee eversole (@kalee_eversole) October 3, 2016
Pretty excited about using Grid after listening to @jensimmons #aeaorl talk. https://t.co/U4hI6zSYIa
— Sean Tubridy (@tubes) October 3, 2016
Your project’s layout should be appropriate for your project. Cookie-cutter templates aren’t good enough. @jensimmons #aeaorl
— zeldman (@zeldman) October 3, 2016
"Layout shouldn’t be a multiple choice question. It should be an essay question." @jensimmons #aeaorl
— Matt Murray (@vintageneon) October 3, 2016
If we’re bored with our cookie-cutter site designs, imagine how our audiences feel. @jensimmons #AEAORL
— zeldman (@zeldman) October 3, 2016
Editorial design’s about communicating the idea of a story thru the organization & presentation of words & visuals. @jensimmons #aeaorl
— zeldman (@zeldman) October 3, 2016
.@jensimmons Layout Lab is an excellent sampler of experiments in established & cutting-edge front-end web tech: https://t.co/qta9QYrV3i pic.twitter.com/IMPN9nQeHk
— Dudley Storey (@dudleystorey) October 3, 2016
@jensimmons can't wait to look deeper into all the possibilities. #AEAORL pic.twitter.com/s82j2eFQE2
— dianad1218 (@dianad1218) October 3, 2016
Revolutionize Your Page: Real Art Direction on the Web by @jensimmons #aeaorl pic.twitter.com/4oAPtHoeq0
— Jake Palmer (@Jake_rrr) October 3, 2016
Definitely! Also, really like the progressively enhanced approach in her Jazz poster example. We can do that today!
— James Nash (@c1rrus) October 3, 2016
Mondrian art example is such a fun way to demonstrate the CSSGrid concept. @jensimmons is great at illuminating concepts. #aeaorl
— Jeremy Vanderlan (@jvanderlan) October 3, 2016
@jensimmons I think mondrian would have been happy with your creation. very cool. #aeaorlery
— Jason Dancisin (@jasondancisin) October 3, 2016
One of these days in the future, our talking robots (Siri, Alexa) will start reading HTML web pages to us @jensimmons #aeaorl
— Chaunce 'Red' Dolan (@RedDolan) October 3, 2016
So much coolness at https://t.co/jhpkFv3JsI #trix @jensimmons #aeaorl pic.twitter.com/elCHB85eQu
— Ann Hudspeth (@annhud) October 3, 2016
Ahhh...fancy tools for finding shape-outside, CSS Shapes Editor @jensimmons #bespoke #aeaorl
— Daniel Kedinger (@kedinger) October 3, 2016
Kitty unicorn !! #aeaorl @jensimmons awesome! pic.twitter.com/OKjaxNh24u
— Colleen (@CBellDoodles) October 3, 2016