summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/reference/backdrop-filter-svg-ref.html
blob: 3d5853ac6698ee9dafba37a825f3dc4e2d07b64e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<meta charset="utf-8">

<div class="fuchsiabox"></div>
<div class="filter"></div>

<style>
.fuchsiabox {
  position: absolute;
  background: fuchsia;
  width: 100px;
  height: 100px;
  top: 100px;
  left: 60px;
}
.filter {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 100px;
  left: 60px;
  backdrop-filter: invert(1);
}
</style>