Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<title>View transitions: iframe and main frame transition at the same time (ref)</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
iframe {
position: fixed;
top: 0;
left: 0;
width: 50vw;
height: 50vh;
}
body {
background: green;
}
</style>
<iframe srcdoc="
<style>
body {
background: blue;
}
</style>
"></iframe>