<!DOCTYPE html> | |
<title>View transitions: one element captured for two tags (ref)</title> | |
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> | |
<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> | |