I\'m trying to make a \"fade-in fade-out\" effect using the CSS transition. But I can\'t get this to work with the background image...
The CSS:
Unfortunately you can't use transition on background-image, see the w3c list of animatable properties.
background-image
You may want to do some tricks with background-position.
background-position