blob: a4d66efcc3f08de99cdc48bc9a99292cf3f29873 [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: 1 1 N</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-1-1-N-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: 1 1 4em;
}
</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>