THE FUTURE OF DIGITAL LAYOUT
CUTTING-EDGE CSS FEATURES

Nuremberg, October 25, 2013
Andre JAY Meissner
@klick_ass
CSS Regions
.content {
/* collect content into a named flow */
flow-into: myFlow;
}
.region {
/* render the content from the named flow */
flow-from: myFlow;
}
Flow

Regions

Flow +
Regions
Markup Separation
<!-- content: semantic markup -->
<article>
<h1>Title</h1>
<p>...</p>
</article>
<!-<div
<div
<div

layout: helper markup -->
class="region"></div>
class="region"></div>
class="region"></div>
Adaptive UI with CSS Regions
Aggregate Content
/* collect content from different places */
header nav,
footer a {
flow-into: menuFlow;
}
#menu {
flow-from: menuFlow;
}
REGIONS ARE ONLY

VISUAL CONTAINERS
CSS Regions Status

W3C Working Draft | Adobe, Microsoft
Tooling Status
Adobe Edge Tools & Services

Edge Reflow

Edge Web Fonts

Edge Animate

Typekit

Edge Code

PhoneGap Build

Edge Inspect
Adobe Edge Reflow

Design
Responsive
Websites
Adobe Edge Code

Edit HTML,
CSS and
JavaScript
Brackets.io

Code the web.
#ODL to the rescue!
lab-up.org
@LabUpOrg
CSS Blending
Blend Modes
normal
screen
multiply
overlay

darken
lighten
color-dodge
exclusion

color-burn
hard-light
soft-light
difference

hue
saturation
color
luminosity

http://www.w3.org/TR/compositing-1/#blending
Background Blending
/* blend background images of the same element */
.element {
background: url(image1.jpg), url(image2.jpg);
background-blend-mode: overlay;
}
Element Blending
div {
background-image: url
(texture.png);
}
p {
mix-blend-mode: overlay;
font-family: "Mythos Std";
}
CSS Compositing
+ Blending Status

W3C Working Draft | Adobe, Canon
Shapes in CSS
CSS Shapes
Shape inside
/* wrap content inside a circle */
#content {
shape-inside:
circle(50%, 50%, 10em)
}
Shape outside
#coffee {
float: left;
shape-outside:
circle(50%,
50%,
10em);
}
Complex shapes
/* shape defined by points of a polygon */
.content {
shape-inside: polygon(x1, y1 x2, y2 ... );
}
/* shape defined by the alpha levels of an image */
.content {
shape-inside: url(image.png);
shape-image-threshold: 0.5;
}
CSS Shapes Status

W3C Working Draft | Adobe, Microsoft
html.adobe.com
Andre JAY Meissner
@klick_ass
klick-ass.com
ajm@adobe.com

The Future Of Digital Layout - Cutting Edge CSS Features