gecko-dev/gfx/webrender/tests/bug_178.html

25 строки
375 B
HTML

<style>
.green {
background: green;
width: 100px;
height: 100px;
position: absolute;
transform: translateX(4px);
}
.red {
position: absolute;
left: 25px;
width: 50px;
height: 26px;
background: red;
background-image: linear-gradient(to bottom, red, yellow);
}
</style>
<div class="green">
<div class="red"></div>
</div>