JSFiddle - React, Tailwind, and code Playground
HTML
<div class="red">
<div class="green">
Задача: сделать чтобы этот зеленый блок был под картинкой, но над красным блоком, не удаляя свойство -webkit-transform у блока ".red".
</div>
<img src="http://yoursmileys.ru/ismile/globe/globe14.png">
</div>
CSS
* {
padding: 0;
margin: 0;
overflow: hidden;
}
.red {
-webkit-transform: translate3D(10px, 10px, 0);
height: 300px;
background-color: red;
position: relative;
overflow: visible;
}
.green {
position: absolute;
margin-top: 190px;
margin-left: -10px;
padding: 20px;
background: green;
color: #fff;
z-index: 2;
width: calc(100% - 50px);
}
img {
position: absolute;
z-index: 3;
}