Shadow Issue for Image

Hello there.

I’m creating a group with 2 flags. I’m trying to set that when the flag is hovered, the flag should be shadowed inset, but what I get is that the hole box is shadowed (It’s not the group. I don’t know why but when I upload the image it has some empty spaces up and down the flag)

I think the problem is because it’s a .PNG image and bubble considers the empty space arround the flag. How can I fix it?

grup

boxshadow

Thanks!

What you can do is to insert an empty group above your flag’s image.
And create the hover condition in this group. As it will be empty, the inner shadow will be displayed above your image, giving you the effect you want. :+1:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.