Shadow to png image



  • May funds CSS Set a shadow for the image in the format PNG so that the shadow is intact and follow the flaws of the image?



  • We can use our properties. http://www.w3schools.com/cssref/css3_pr_filter.asp

    #img {
      -webkit-filter: drop-shadow(3px 5px 5px #000);
      filter: drop-shadow(3px 5px 5px #000);
    }
    <img id="img" src="https://image.ibb.co/ebs4kL/share.png" alt="">


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2