servo/tests/wpt/css-tests/css-flexbox-1_dev/html/flexbox_wrap-reverse.htm

30 lines
No EOL
619 B
HTML

<!DOCTYPE html>
<html><head><title>flexbox | flex-wrap: wrap</title>
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-wrap" rel="help">
<link href="reference/flexbox_wrap-reverse-ref.htm" rel="match">
<style>
div {
background: blue;
margin: 1em 0;
border: 1px solid black;
width: 20em;
display: flex;
flex-wrap: wrap-reverse;
}
span {
background: white;
margin: 1em;
width: 8em;
display: inline-block;
}
</style>
</head><body><div>
<span>one</span>
<span>two</span>
<span>three</span>
<span>four</span>
</div>
</body></html>