Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<title>View transitions: capture elements with display inline (ref)</title>
<style>
html {
background: pink;
}
#box {
will-change: opacity;
background: blue;
}
div {
padding-left: 8px;
padding-top: 8px;
}
</style>
<div>
<span id=box> </span>
</div>
</html>