The logo with the effect
The CSS property used for this is the filter
drop-shadow
:
img{
filter: drop-shadow(0px 0px 3px #116466);
}
Where the parameters are (x-off y-off blur color)
. Find more information here. Note that the image must have SVG format. There are other ways to obtain a similar effect with a SVG image, but the advantage that this method have is that it will work even in external images, not only inline SVG.
Also, this works on text too! Here’s an example. Text without effect Text with effect
I hope you find it useful!