28 lines
562 B
HTML
28 lines
562 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>View transitions: animations in the new element show up in the images if it partially changes (ref)</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
|
|
<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>
|
|
|