In the attached snippet, I have a polygon and I need to add an effect to make it look like this:
I don't know how to do this in svg, if it was html then I think I would use box-shadow.
THe only thing that appears to be a solution is to use filter but I think I can only use that on an <svg/> element so I am struggling how I can do this.
polygon {
fill: #5091b9;
stroke: #4387b0;
stroke-width: 2;
}
<svg width="300" height="300">
<g transform="translate(100, 100)">
<polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node-vertical__hexagon node-vertical__inactive"> </polygon>
</g>
</svg>
