1
0
Fork 0
firefox/testing/web-platform/tests/css/css-transforms/preserve3d-pseudo-element.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

23 lines
555 B
HTML

<!doctype html>
<title>CSS Test: preserve-3d on pseudo elements</title>
<link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/">
<link rel="match" href="preserve3d-pseudo-element-ref.html">
<style>
div {
width: 200px;
height: 200px;
transform: rotateX(90deg);
transform-style: preserve-3d;
}
div::before {
display: inline-block;
width: 200px;
height: 200px;
transform: rotateX(90deg);
content: '';
background-color: green;
}
</style>
<div></div>