blob: 32aaf55412cada7a5832899fa26418cfd705e909 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<!DOCTYPE html>
<html>
<title>View transitions: view-transition-name non-none value is a backdrop filter root (ref)</title>
<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
.background {
background: cyan;
width: 200px;
height: 200px;
}
.shared {
background: blue;
position: relative;
left: 50px;
top: 50px;
width: 100px;
height: 100px;
will-change: opacity;
}
.filter {
backdrop-filter: invert(1);
position: relative;
left: -50px;
top: 30px;
width: 200px;
height: 40px;
}
</style>
<div class=background>
<div class=shared>
<div class=filter></div>
</div>
</div>
|