summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-left-ref.html
blob: e86e5197da9d365b931733d890052236f4275567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<title>View transitions: capture elements and then change overflow (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<style>
body { background: pink }
#target {
  position: relative;
  background: green;
  left: 10px;
  width: 100px;
  height: 100px;
  view-transition-name: target;
}
#target.toggle {
  outline: 300px solid transparent;
}
</style>

<div id=target class=toggle></div>