File: -flexbox_columns-flexitems-2.htm

package info (click to toggle)
litehtml 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,928 kB
  • sloc: ansic: 31,385; cpp: 27,328; makefile: 9
file content (32 lines) | stat: -rw-r--r-- 729 bytes parent folder | download | duplicates (5)
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>