1
0
Fork 0
firefox/testing/web-platform/tests/css/css-view-transitions/3d-transform-incoming-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

28 lines
635 B
HTML

<!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 }
.wrap_perspective {
perspective: 100px;
width: max-content;
transform: translate(200px);
}
.rotatex {
transform-style: preserve-3d;
transform: rotateX(20deg);
background: blue;
}
.shared {
width: 100px;
height: 100px;
view-transition-name: shared;
}
body { background: pink }
</style>
<div class="wrap_perspective"><div class="rotatex shared"></div></div>