Cool css cards animation
codepen.io
codepen.io
I'd only toggle a single class on the wrapper (or use hover if that's what you are after. that's what I did to get away without js).
Animations work well with CSS, transform is fastest here.
Use alpha instead of the grey on the shadow and it stacks correctly.
https://jsfiddle.net/s8kgmwL7/36/
You could probably do better than me for the stacking. Animating the margin is not a good thing for performance.
edit: updated a bit