Answer the question
In order to leave comments, you need to log in
Who can help implement the js function?
I apologize for the title, but I don't even know how to call the topic otherwise.
I made such a simple script: https://jsfiddle.net/ordzb831/8/
The point is that the button smoothly changes color (in this case, there will be a transformation in the future, etc.).
The problem is that I figured out how to do this when the cursor is inside a block, but the color changes when we move the cursor from the extreme left side of the block .box
to the extreme right.
The task is to make the button change color when the cursor approaches it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question