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