blob: b97396c491f515885b0cfd1e778ea88cc9c8ea10 (
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
|
<!DOCTYPE html>
<title>Shared transitions: one element captured for two tags (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
div {
position: fixed;
top: 0;
left: 0;
}
#first {
background: blue;
width: 100px;
height: 100px;
transform: translate(100px);
}
#second {
background: green;
width: 100px;
height: 100px;
transform: translate(150px);
}
</style>
<div id=first></div>
<div id=second></div>
|