Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<title>View transitions: animations in the new element show up in the images if it partially changes (ref)</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
#target {
width:100px;
height:100px;
background: blue;
will-change: transform;
}
.child {
width: 50px;
height: 50px;
will-change: transform;
background: grey;
}
</style>
<div id="target">
<div class="child">
I'm the inner composited child.
</div>
</div>