blob: eaee53746168c2c20ac90697d16a9aaeacde633b [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: larger integer, mixed basis, auto</title>
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-basis-property" rel="help">
<link href="reference/flexbox_flex-natural-mixed-basis-auto-ref.htm" rel="match">
<style>
body {
margin: 0px;
background-color: white;
font-family: Roboto;
font-size: 16px;
}
div {
font-family: Roboto;
background: blue;
height: 8em;
width: 35em;
display: flex;
}
span {
font-family: Roboto;
background: white;
flex: 1 1 auto;
}
span:nth-child(1) {
flex: 1 1 0%;
}
</style>
</head><body><div>
<span style="background: yellow;">&#x2588;</span>
<span style="background: #FFC0CB;">&#x2588;&#x2588;&#x2588;</span>
<span style="background: #ADD8E6;">&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;</span>
<span style="background: #808080;">&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;</span>
</div>
</body></html>