summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_first-line.html
blob: ad8d12c2753df5e3e660856f5a105611d50488ad (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
33
34
35
<!DOCTYPE html>
<title>flexbox | first-line</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#placement">
<link rel="match" href="flexbox_first-line-ref.html">
<style>
ul {
	background: #3366cc;
	padding: 0;
	list-style: none;
	width: 900px;

	display: flex;
	flex-wrap: wrap;
}
li {
	background: #ffcc00;
	margin: 2em;
	border: 1px solid black;
}
ul:first-child::first-line {
	justify-content: space-around;
}
</style>

<ul>
	<li>filler</li>
	<li>Antidisestablishmentarianism</li>
	<li>filler</li>
	<li>Antidisestablishmentarianism</li>
	<li>Antidisestablishmentarianism</li>
	<li>filler</li>
	<li>Antidisestablishmentarianism</li>
	<li>filler</li>
</ul>