summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/position-fixed-dynamic-transformed-sibling-ref.html
blob: a51b0a0b10e55824ac73ca3f6cc3b887e2d7b813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<meta charset=utf-8>
<meta name="viewport" content="width=device-width">
<style>
  body {
    margin: 0;
  }
  .fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: blue;
  }
</style>
<div class="fixed"></div>