blob: b1b4593f88c9e2d32bdee351a748a039b5b8ccf9 [file] [log] [blame]
<!DOCTYPE html>
<!--
| Flexbox unit test from csswg.
| http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/chapter-7.htm
-->
<html><head><title>flexbox | flex: 0 1 0 unitless</title>
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-property" rel="help">
<link href="reference/flexbox_flex-0-1-0-ref.htm" rel="match">
<style>
body {
margin: 0px;
background-color: white;
font-family: Roboto;
font-size: 16px;
}
div {
background: blue;
margin: 1em 0;
border: 1px solid black;
height: 8em;
width: 40em;
display: flex;
}
span {
background: white;
margin: 1em 0;
width: 5em;
display: inline-block;
flex: 0 1 0;
}
</style>
</head><body><div>
<span style="background: yellow;">one</span>
<span style="background: #FFC0CB;">two</span>
<span style="background: #ADD8E6;">three</span>
<span style="background: #808080;">four</span>
</div>
</body></html>