Hover animation in option lists

Hi :wave:

I would really like to understand how to solve the problem with animations in option lists.

When you click on an option from the list, an image attached to this option automatically appears. I would like to add the possibility of an image appearing on hover, while retaining the ability to do the same on click.

I assume that this can be done using custom code. Is it possible to implement this, and if so, how?

Any help would be appreciated!