Source code

Revision control

Copy as Markdown

Other Tools

<!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: 200px;
width: 100px;
overflow: scroll;
display: inline-block;
}
</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>