blob: 0e09cba92b155b8e3a6d531e0d8a463fa9f6890e [file] [log] [blame] [edit]
<!DOCTYPE html>
<title>View transitions: 3d transform ref</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
div { box-sizing: border-box; will-change: transform }
.rotate3d {
transform: translate(20px, 100px) rotate3d(1, 1, 1, 45deg);
background: green;
}
.shared {
width: 100px;
height: 100px;
}
body { background: pink }
</style>
<div class="rotate3d shared"></div>