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>
<html><head><title>flexbox | multicol on flexbox items</title>
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-containers" rel="help">
<link href="reference/flexbox_columns-flexitems-2-ref.htm" rel="match">
<link content="ahem" rel="flags">
<link href="/fonts/ahem.css" type="text/css" rel="stylesheet">
<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>
</head><body><div>
<p>
one two three four five
one two three four five
one two three four five
</p>
</div>
</body></html>
|