I'm doing a project where I should apply a mask (PNG or SVG) over an image .
I'm using
.svg-clipped {
mask-image: url("../img/desktop_tds_hist.png") ;
-webkit-mask-image: url("../img/desktop_tds_hist.png") ;
-webkit-mask-image: url("../img/desktop_tds_hist.png");
-o-mask-image: url("../img/desktop_tds_hist.png");
-moz-mask-image: url("../img/desktop_tds_hist.png");
-webkit-mask-size: 100% 100%;
}
But this feature only works on Google Chrome.
Is there a workaround? I already looked for several and I did not find any that solved my problem.