I’m working with angular 4 projects where inserted inline SVG document and I’ve put some styles for path elements, it has a class name is country
each. However, the styles work fine with Chrome, Firefox, and Edge but NOT in Safari browser.
How should I style correctly that works for all browsers? If anyone has an idea I’d like to ask you to share your knowledge any links that would be greatly appreciated!
Current Style for Svg path class .country
.country {
stroke: #000000;
stroke-width: 0.25;
fill-opacity: 0.4;
transition: fill 0.2s ease-out;
&:hover {
fill: #00ff00;
}
}
.country:focus {
stroke: #ffffff;
stroke-width: 0.25;
fill: #00ff00;
outline: none;
}
.test-country {
fill: #009900;
}
Chrome screenshot and it should be display the same for other browsers as well
**Problem with Safari browser screenshot **