Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>View transitions: one element captured for two tags (ref)</title>
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
div {
width: 100px;
height: 100px;
contain: paint;
position: absolute;
top: 50px;
background: black;
left: 200px;
filter: invert(1);
}
body { background: lightpink; }
</style>
<div></div>