Skip to main content

All Questions

Tagged with
0 votes
1 answer
324 views

SVG box-shadow shows cut on hover in Safari

Safari is displaying box-shadow cut when hovering SVGs. I assume this is a Safari only bug, as it renders fine on every other browser (Chromium based & Firefox). If I apply the shadow to the ...
Syden's user avatar
  • 8,585
0 votes
2 answers
241 views

Firefox hover effect on SVG image element not working

Attempting to make an interactive SVG map. When one of the image elements is hovered over it should increase in size from 20px to 50px. Here is an example of what I'm trying to do: <svg xmlns="...
Random-citizen's user avatar
0 votes
1 answer
35 views

hover over div updates display in spots or intermittently

I’m attempting to implement a hover to display effect for a header. I’ve assigned the :hover selector to a div with width 99% and height 10vh that should be contiguous with the header. The display ...
Rip's user avatar
  • 49
0 votes
1 answer
774 views

How to I get the hover to only hover over an SVG file and not the empty space beside it?

I have a triangle shaped SVG file that I'm trying to make change colors when hovered over, as well as be a clickable link. When I hover over it, it does exactly that, however since it is not a ...
Derek R's user avatar
  • 21
1 vote
1 answer
168 views

Change stroke colour on svg in html

I'm at a complete loss with this. I am trying to create an svg for Formula 1 tracks which highlights the various sectors of the track when the mouse hovers over. I have the sectors separated in the ...
Nathan Taylor's user avatar
0 votes
1 answer
246 views

How do I position an SVG?

I have an SVG in a navbar that's supposed to go to the right when hovered. The HTML and CSS is below: .logo { font-weight: bold; text-transform: uppercase; margin-bottom: 1rem; text-align: ...
midnight0s's user avatar
0 votes
2 answers
731 views

How to create a hover effect from an svg inside a svg border

I currently created a border in illustrator and I imported a diagram that is also a SVG to place inside of the SVG border using illustrator. So, I want to actually create hover effects from the ...
alphanumEric's user avatar
1 vote
2 answers
303 views

SVG on hover not taking Transition

I am trying to animate a SVG where I need to change path of the svg. While I am hovering svg at that time path changes but the Transition on hover not working. I need to make a smooth transition on ...
Bhavik's user avatar
  • 228
1 vote
1 answer
3k views

My SVG button is not changing colors when i hover over it

I have a button that has an SVG inside it, in my CSS the icon changes color when you hover over it, the same thing with the SVG. But I have to put my mouse directly on the SVG to fill the color, I'm ...
user avatar
1 vote
1 answer
84 views

Hover event on lineargradient colors in svg

I have an SVG rectangle filled with a lineargradient that has various <stop offset = ..> to make it filled with different colours. I'm trying to make a different text appear (one text per colour)...
Paul_Rent's user avatar
0 votes
2 answers
692 views

Responsive button animation CSS

I'm trying to combine the look of one button, with the responsiveness of another button: Button A: https://codepen.io/vitor-siqueira/pen/xNBExN Button B: https://codepen.io/AnthonyBmm/pen/poooJmO I ...
17thelement's user avatar
1 vote
2 answers
63 views

Links don't work when combining SVG files with hovers

I am trying to achieve the following Text and svg files move when hovering Color is reversed when hovering. Open the link This is my html: btn_olclass has <a> and <span>(with object svg) ...
hnsky's user avatar
  • 13
0 votes
1 answer
68 views

SVG on hover: Image on hover SVG icon not working [duplicate]

I am working on a task. on the image when hover SVG icon is not working. I am stuck where I am incorrect. please, anyone, who can help to get this. and point me in the right direction. the link ...
Asiya Fatima's user avatar
  • 1,448
0 votes
0 answers
20 views

Does img src negate hover effects created in svg source code?

I know how to create a hover effect on the tags in the svg source file but I'm wondering if using it as an img src tag negates the hover effects created in the source code of the svg? the code is ...
Nick's user avatar
  • 21
0 votes
2 answers
266 views

Change an SVG Fill on Hover [duplicate]

I have a SVG image wrapped in container and a href wrapper. I would like to change the SVG fill path on hover. I was trying this but it's not working. <a class="category" href="#"> <div ...
Alex's user avatar
  • 39

15 30 50 per page