Answer the question
In order to leave comments, you need to log in
How to make a smooth image change from left to right on hover?
Greetings!
I want to make a smooth change of the logo on hover.
There are 2 images of the logo, dark and color.
<a href="#" class="logo">
<img src="/logo-dark.svg" alt="" class="logo-dark">
<img src="/logo-color.svg" alt="" class="logo-color">
</a>
Answer the question
In order to leave comments, you need to log in
You can just change the fill color on hover...
SVG does just that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question