I have been searching for an answer to this question, but haven't found one yet.
Currently, I have a series of divs with background-images set to 'background-size: cover'.
My goal is to make the images zoom in and grow on hover. However, it seems that this transition doesn't work when using the 'cover' attribute. The image zooms without the desired transition effect, going instantly from 'cover' to 110% size. It works properly if the original background-size was set as 100%.
Despite this, setting the background-size to 100% causes the image to tile somewhat behind the div when resized, which is not ideal. The 'cover' attribute keeps the image central at all times, which is what I prefer.
If anyone has advice on how to achieve a transition while maintaining the 'cover' effect, it would be greatly appreciated.
Ilmiont