Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test Reference File</title>
<style>
div {
background-color: green;
height: 50px;
width: 50px;
}
.float {
margin-left: 50px;
margin-top: -50px;
}
</style>
<body>
<p>Test passes if there is a filled green square and <strong>no red</strong>, the number within square is '1 2 3 4'
from left to right, top to bottom.</p>
<div>1</div>
<div class="float">2</div>
<div>3</div>
<div class="float">4</div>
</body>