W
W
weranda2020-05-18 10:10:45
css
weranda, 2020-05-18 10:10:45

How to smoothly change the background of a block from a sprite on hover?

Greetings.
There is an SVG sprite and you need to somehow make a smooth transition from one element of the sprite to another, not a linear transition when you see how the picture shifts (this is in the example), but by the type of smooth appearance / disappearance on hover (the picture disappears smoothly, and another one smoothly appears in its place, something like a fade-in animation). The text has a similar transition.
An example is here.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question