Overlay visible areas of transparent black silhouette PNG with pattern using CSS3 or JS
问题 I'm looking for a way to overlay the visible areas of a transparent black silhouette PNG file with a certain pattern. Is there a CSS, JavaScript, mixed solution for this? Example: I have one image of a weapon silhoutte and a set of camo patterns which I want to lay over the weapon. Demo: In Photoshop the same result is givin when selecting layer mask > overlay. Ps: my question is similar to this thread: Silhouette a PNG image using CSS except I am looking for the exact opposite. 回答1: You can