<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CSS Flex-basis Test</title> | |
<link rel="author" title="Tomek Wytrebowicz" href="mailto:tomalecpub+github@gmail.com"> | |
<style type="text/css"> | |
.flex { | |
width: 200px; | |
height: 200px; | |
} | |
.flex > * { | |
background: green; | |
height: 100px; | |
width: 200px; | |
overflow: scroll; | |
} | |
</style> | |
</head> | |
<body> | |
<p>Test passes if there is a filled green square with scrollbars and <strong>no red</strong>.</p> | |
<div class="flex"> | |
<div></div><div></div> | |
</div> | |
</body> | |
</html> |