https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f9e3995a8d4d43f6ae0f1949f8615d2dfcdb7f66 authored by Sandra Sun on 28 March 2018, 01:57:21 UTC
Implement snapping for scroll with intended direction and end position.
Tip revision: f9e3995
flexbox_flex-N-0-0-ref.html
<!DOCTYPE html>
<title>flexbox | flex: N 0 0</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