Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<title>View transitions: root element style changes during transition</title>
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
#target {
width: 100px;
height: 100px;
contain: paint;
background: green;
}
body {
background: grey;
}
</style>
<div id=target></div>