box shadow on svg rect code example
Example: box shadow svg css
<img src="https://www.sean-lloyd.com/logo.svg" width="200" class="shadow" />
<style>
.shadow {
-webkit-filter: drop-shadow( 4px 4px 4px rgba(0, 0, 0, .5));
filter: drop-shadow( 4px 4px 4px rgba(0, 0, 0, .5));
}
</style>