I've been trying to get CSS-Mask to work. I've tried PNG(24/32),SVG & GIF with no results ?

 background-image:url("/wdp/images/grid.png");
 -webkit-mask:url("/wdp/images/x320svg-mask.svg") top alpha;

Recommended Answers

All 3 Replies

It should be -webkit-mask-image.

I've tried mask-image, doesn't work, the latest version of Chrome give me a invalid property value;

 -webkit-mask-image: url("/wdp/wip/x32024.png") top alpha;

Can you post your page online somewhere?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.