summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/justify-content-001-ref.html
blob: cea76d4c18fc7517978ab22a628734f3a16e14be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<style>
  #blue {
    background: blue;
    height: 100px;
    width: 150px;
  }
  #orange {
    background: orange;
    height: 100px;
    left: 150px;
    position: relative;
    top: -100px;
    width: 150px;
  }
</style>
<body>
  <p>Test passes if there is a single blue rectangle on the left, a single orange rectangle directly to its right, and there is no red visible on the page.</p>
  <div id="blue"></div>
  <div id="orange"></div>
</body>