What's the best method to create this effect on a card? >
On hover, image zooms in/out (example here)
I was able to recreate this effect by setting the background image on a div element and simply changing the image dimensions on hover. However, you would have to have a style for each card (div) if you wanted 6 of them on the page, right?
Is there another/better way to do this?