Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<title>View transitions: element with fixed position descendant (ref)</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
.target {
width: 100px;
height: 100px;
background: blue;
}
.child {
width: 100px;
height: 100px;
position: fixed;
top: 150px;
left: 150px;
background: grey;
}
</style>
<div class=target>
<div class=child></div>
</div>