summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/object-view-box-ref.html
blob: 9ed1e503094cc4e283f5c6ae989ee36edbe3325c (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
<!DOCTYPE html>
<title>View transitions: object-view-box (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
.target {
  contain: paint;
  width: 100px;
  height: 100px;
  transform: scale(2.0, 3.0);
  position: relative;
  top: 200px;
  left: 200px;
}
.content {
  width: 100px;
  height: 50px;
  background: blue;
}

</style>
<div class="target">
  <div class="content">SharedElement</div>
</div>