summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_columns-flexitems-2.html
blob: b6ca52f2a885b6f31f6c956338ffc27c4b7ccf90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<title>flexbox | multicol on flexbox items</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help"
	href="http://www.w3.org/TR/css-flexbox-1/#flex-containers">
<link rel="match" href="flexbox_columns-flexitems-2-ref.html">
<link rel="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div {
	background: blue;

	display: flex;
	justify-content: space-around;
}
p {
	font-family: ahem;
	background: yellow;
	column-rule: 1em solid lime;
	columns: 2;
	margin: 0;
	width: 200px;
}
</style>

<div>
	<p>
	one two three four five
	one two three four five
	one two three four five
	</p>
</div>