summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/web-animations-api-ref.html
blob: ab66e7d16df6acf73a4a4b88bd74a727876c966c (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>View 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>