You can use filter: drop-shadow()
on the entire <svg>
, but not on individual elements like <path>
.
https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/drop-shadow
https://css-tricks.com/almanac/properties/f/filter/
You might have to use a SVG <filter>