There’s no fill so the interior does not catch mouse events by default and therefore hover doesn’t react to that. Changing pointer-events to all will fix it in this case:
path{
fill:none;
stroke:black;
pointer-events:all;
}
More Related Contents:
- Fill SVG path element with a background-image
- How to modify the fill color of an SVG image when being served as background image?
- SVG drop shadow using css3
- How to create a circle with links on border side
- How to apply a style to an embedded SVG?
- SVGs not scaling properly in IE – has extra space
- Add a background image (.png) to a SVG circle shape
- border curved css – circle with curved end
- How to style SVG with external CSS?
- html/css hexagon with image inside
- Setting transform-origin on SVG group not working in Firefox
- Responsive CSS Trapezoid Shape
- Circular percent progress bar
- Linking to CSS in an SVG embedded by an IMG tag
- Creating a ‘New’ spiky label with 24 or above point burst
- How to cut a circular part from an image?
- How to calculate required hue-rotate to generate specific colour?
- Making an svg image object clickable with onclick, avoiding absolute positioning
- How to change SVG color when it is an encoded CSS background image?
- Draw double curved item with beveled edges
- How to get rid of extra space below svg in div element
- How to get ScrollBars in SVG?
- Manipulating external svg file style properties with CSS
- div with triangle at the bottom with background image
- SVG LinearGradient hidden if svg is hidden in seperate class
- How do I create a teardrop in HTML?
- Create a Reverse Clip-Path – CSS or SVG
- Internet Explorer and clip-path
- How to curve the div from bottom with image background
- svg background image position is always centered in internet explorer, despite background-position: left center;