Add hover effects for links in an image (area) map

I am just new to html and I would like to put hover effects for my imagemap. I have searched for many solutions, but I am only coming up with solutions using a script that I do not understand.

How does this script work? I tried to use

area:hover {
border: 1px solid white;
}

      

But that won't work.

+3


source to share


1 answer


What you are trying to do is not very simple, you will need to combine javascript and css or jquery to give the effect you want.

This is because the element area

does not accept hover

directly, unfortunately ...

But the good news is that this has been answered before:



How to apply hover on html area tag?

Visible area tag?

+4


source







All Articles