summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-values/calc-offsets-relative-left-1-ref.html
blob: b9a2a4b914d2327c5f028226c814030ccbabd77c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML>
<html>
<head>
  <title>CSS Reference: Test for left:calc() on relatively positioned elements</title>
  <link rel="author" title="L. David Baron" href="https://dbaron.org/">
<style type="text/css">
body { margin: 0 100px; width: 100px }
div[style] { background: blue; position: relative; height: 3px; }
</style>
</head>
<body>

<div style="left: 50px"></div>
<div style="left: -50px"></div>
<div style="left: 75px"></div>
<div style="left: -45px"></div>
<div style="left: 40px"></div>
<div style="left: -30px"></div>
</body>
</html>