summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/new-content-scaling-ref.html
blob: bcd195fc264de6f194f4f8a48597155a6dc4ac33 (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: 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>