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

21 lines
437 B
HTML

<!DOCTYPE html>
<html>
<title>Reference for transition on pseudo-element</title>
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content">
<style>
div {
width: 100px;
height: 100px;
background: rgb(255, 191, 0);
}
div::before {
content: "";
background: rgb(184, 115, 51);
width: 100px;
height: 100px;
transform: ScaleX(0.5);
display: block;
will-change: transform;
}
</style>
<div></div>