summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/background-attachment-local-hidden-ref.html
blob: fc593c23cd048af09b6ddc053524ca4ef8281e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype HTML>
<style>
  .outer {
    position:relative;
    width: 120px;
    height: 120px;
    border-radius: 40px;
    background-color: rgba(255,0,0,0.5);
  }

  .inner {
    position:absolute;
    top:10px;
    left:10px;
    width: 100px;
    height: 100px;
    border-radius: 30px;
    background-color: lightblue;
  }
</style>
<div class = "outer">
    <div class = "inner"></div>
</div>