blob: 251a5e9562c5c07f7d03c8ddc1a143b74c9a235b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>CSS Flexible Box Test: display proprety - flex</title>
<link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-containers">
<link rel="match" href="reference/ttwf-reftest-flex-base-ref.html">
<meta name="assert" content="Statement describing what the test case is asserting">
<style type="text/css">
.container {
position: relative;
height: 6em;
width: 3em;
display: flex;
background: red;
margin: 1em;
border: 1px solid black;
}
.success {
background: green;
width: 3em;
}
</style>
</head>
<body>
<p>The test passed if you can't find red color.</p>
<div class="container">
<span class="success">Hello</span>
</div>
</body>
</html>