summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/3d-transform-outgoing-ref.html
blob: 0554cd3f4d9a69f06eb0c1e70687f41132d15567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<title>Shared transitions: 3d transform ref</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
div { box-sizing: border-box; will-change: transform }
.rotate3d {
  transform: translate(20px, 100px) rotate3d(1, 1, 1, 45deg);
  background: green;
}
.shared {
  contain: layout;
  width: 100px;
  height: 100px;
}
body { background: pink }

</style>

<div class="rotate3d shared"></div>