<p>foo</p>
<p class="transformed">bar</p>
<p>foo</p>
p {
width: 50px;
height: 50px;
background-color: teal;
}
.transformed {
transform: perspective(500px) translate3d(10px,50px,0px);
/* equivalent to perspective(500px) translateX(10px)*/
background-color: blue;
}