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

25 строки
322 B
HTML

<style>
.green {
background: green;
position: absolute;
width: 100%;
height: 100px;
transform: translateX(-200px);
}
.red {
background: red;
position: absolute;
width: 100px;
height: 100px;
right: -50px;
}
</style>
<div class="green">
<div class="red"></div>
</div>