aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/reference/containing-block-dynamic-1-ref.htm
blob: 0003e86e1d33c0298addc89d6fb53997efced875 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html><head><meta charset="utf-8">
<title>CSS transforms: Creating containing block for fixed positioned elements</title>
<link href="http://dbaron.org/" rel="author" title="L. David Baron">
<link href="http://www.mozilla.org/" rel="author" title="Mozilla">
<style>
  html, body { margin: 0; padding: 0 }
  #fixedmoves {
    position: absolute;
    top: 150px;
    left: 150px;
    background: green;
    height: 100px;
    width: 100px;
  }
</style>
</head><body>
  <div id="fixedmoves"></div>

</body></html>