blob: ec0be7a053ca5ef8de4d2e0093a3e0336edb0637 [file] [log] [blame]
<!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>damer</li>
<li>Antidisestablishmentarianism</li>
<li>damer</li>
<li>Antidisestablishmentarianism</li>
<li>Antidisestablishmentarianism</li>
<li>damer</li>
<li>Antidisestablishmentarianism</li>
<li>damer</li>
</ul>