Use a 3D transformation instead:
div{
padding: 60px;
margin:100px;
background-color:red;
transition:1s;
transform:perspective(100px) translateZ(0);
}
div:hover {
transform:perspective(100px) translateZ(10px);
}
<div>abc</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…