blob: 659d1d52786ff8ce473cfdb2a162b9fb612b0544 [file] [log] [blame]
<!DOCTYPE html>
<title>Shared transitions: use css tags for shared elements (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
div { contain: paint; }
#left {
background: blue;
width: 100px;
height: 100px;
position: absolute;
top: 50px;
left: 50px;
}
#right {
width: 50px;
height: 50px;
background: green;
position: absolute;
top: 50px;
left: 250px;
}
body { background: lightpink; }
</style>
<div id=left></div>
<div id=right></div>