summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset-ref.html
blob: b912624b50b94d4ef6e8175d507e4f11cf740504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<title>background-attachment: fixed with border-radius and offset (reference)</title>
<style>
  .stripe-not-fixed {
    position: absolute;
    top: calc(8px - 128px);
    width: 200px;
    height: 683px;
    background-image: url("/images/grgr-256x256.png");
    background-position: 0px -80px;
    background-size: 1024px 768px;
    background-repeat: no-repeat;
    clip-path: inset(0 0 385px 0);
  }
  body {
    overflow: hidden;
    height: 300vh;
  }
</style>
<div class="stripe-not-fixed"></div>