summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/new-content-scaling-ref.html
blob: 1ca35f5a425e2986a60d5a5489ecdd5adf274c30 (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>View transitions: display content in a pseudo with proper scaling (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
.inner {
  position: absolute;
  inset: 4px;
  background: green;
}
.dst {
  position: relative;
  width: 100px;
  height: 100px;
  border: 1px solid blue;
  box-sizing: border-box;
}
body { background: lightpink; }
</style>

<div class=dst><div class=inner></div></div>