https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 95fcc7595a9e0eaec42034d056cef4e2de04cfd1 authored by Sebastian Hengst on 11 April 2018, 09:29:31 UTC
Backed out changeset 0f81334efa0a (bug 1445883) for crashes (bug 1446902). a=backout
Tip revision: 95fcc75
flexbox_flex-1-0-Npercent-ref.html
<!DOCTYPE html>
<title>flexbox | flex: 1 0 N%</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
div {
	background: blue;
	margin: 1em 0;
	border: 1px solid black;
	height: 8em;
	width: 40em;
}
span {
	background: yellow;
	margin: 1em 0;
	width: 10em;
	height: 6em;
	display: inline-block;
}
span:nth-child(2) {background: pink;}
span:nth-child(3) {background: lightblue;}
span:nth-child(4) {background: grey;}
</style>

<div>
	<span>one</span><span>two</span><span>three</span><span>four</span>
</div>
back to top