Skip to content

Commit bb8e57f

Browse files
committed
spec/css3-regions/regions-print-use-cases: edited
1 parent 0aeddd6 commit bb8e57f

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

spec/css3-regions/regions-print-use-cases.txt

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,40 @@ Here the layout uses the two-page spread to hold large graphics. Consider how so
1414

1515
{{ :spec:css3-regions:gutter-flow.png?nolink |}}
1616

17-
Here there are two named flows, but the contents are related. The flow running through the gutter of the main article is a timeline of events the article refers to. This can be accomplished in either continuous or paged media with sets of three regions.
17+
Here there are two named flows, but the contents are related. The flow running through the gutter of the main article is a timeline of events the article refers to. This can be accomplished in either continuous or paginated contexts with sets of three regions. Here's a paginated solution using Page Templates (assuming content to refer to and a box to paginate in):
18+
19+
<code css>
20+
article {
21+
flow-into: article-flow
22+
}
23+
#timeline {
24+
flow-into: timeline-flow
25+
}
26+
#combine-articles {
27+
overflow-style: paged-x;
28+
}
29+
30+
@template interleaved-layout{
31+
32+
@slot left {
33+
width: 35%;
34+
float: left;
35+
flow-from: article-flow;
36+
}
37+
38+
@slot time {
39+
width: 25%;
40+
float: left;
41+
flow-from: timeline-flow;
42+
}
43+
44+
@slot right {
45+
width: 35%;
46+
float: left;
47+
flow-from: article-flow;
48+
}
49+
}
50+
</code>
1851

1952
[[http://disruptive-innovations.com/zoo/customers/Adobe/regions.html|{{ :spec:css3-regions:2regions.png?400 |}}]]
2053

0 commit comments

Comments
 (0)