Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

svg image shadow css

<img src="https://upload.wikimedia.org/wikipedia/commons/c/ce/Star_wars2.svg" 
alt="" class="shadow" width="200">

.shadow {
  -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
  filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
  /* Similar syntax to box-shadow */
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #svg #image #shadow #css
ADD COMMENT
Topic
Name
5+8 =