- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi all,
I’m having an issue with -webkit browsers (Safari, Chrome) when I use a hover state for a border-radius circle. The hover state still fires as if the element were still a ‘square’. In other browsers the hover state fires only when the mouse cursor is over the circle. Any ideas on how to solve this issue?
Here’s my testing site for CSS3 circles: http://www.stevenheld.com/HoverClickTriggerCircle/index.html
My current homepage uses image maps to get around this issue, but I’d like to use an updated code: http://www.StevenHeld.com
Thanks for looking and for any advice/help you can offer!
Not something you can do with CSS…multiple stacked/positioned image/divs with the JQuery solution suggests itself to me…but that is beyond my expertise.
That is just current browser implementation, not much you can do about it!
The following applied to the parent element with the border radius applied to kick webkit back into line for me:
-webkit-mask-image: -webkit-radial-gradient(white, black);
Another option is to wrap the element in two border radius parents.
Seems hacky to me, but far better than the double wrap option – interested to hear other solutions.