I've embedded an SVG in HTML and I want to add a shadow to it, but I don't know how to.
I've tried adding
I've tried adding
filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.2));
to the CSS and doing what they have here [https://www.w3schools.com/graphics/svg_feoffset.asp], but none of them seem to work.
SVG:
<svg> <!-- I've embedded it in HTML -->
<polyline class="scrollDown" points="130,20 150,40 170,20"/>
</svg>
CSS:
.scrollDown {
fill: none;
stroke-width: 5px;
stroke: #000000;
}