.card img{ width:60px; margin-bottom:12px; transition:.4s; } .card:hover img{ transform:translateZ(40px) scale(1.15); }