Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>View transitions: basic cross-document navigation (ref)</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
.old {
width: 50vw;
height: 100vh;
position: fixed;
left: 0px;
top: 0px;
background: blue;
}
.new {
width: 50vw;
height: 100vh;
position: fixed;
left: 50vw;
top: 0px;
background: grey;
}
</style>
<div class="old"></div>
<div class="new"></div>