Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

PNG image border CSS

img {
  -webkit-filter: drop-shadow(1px 1px 0 black)
                  drop-shadow(-1px -1px 0 black);
  filter: drop-shadow(1px 1px 0 black) 
          drop-shadow(-1px -1px 0 black);
}

body {
  background-color: lightcoral;
}
<img src="http://i.imgur.com/GZoXRjS.png" width="250">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #PNG #image #border #CSS
ADD COMMENT
Topic
Name
1+4 =