Wednesday, February 3, 2016

Transparent png image Displays as White/Black background?

Sometimes when we display a transparent png image, the transparent part shows up as a white or even black background. In order to fix this, insert these 2 lines of code into the img tag: background-color: transparent; border: none;

No comments:

Post a Comment

Popular Posts