Is there a Gecko equivalent to -webkit-mask or a fancy way of degrading for Gecko browsers?
问题 I'm looking for a solid answer on whether or not there is an equivalent to -webkit-mask in Gecko browsers/Firefox? If not, is there any way of degrading -webkit-mask in CSS to a straight background-image deal or should I just give up and use Javascript? Thanks a lot! 回答1: If you're targeting firefox, it has great SVG support, so you can now use SVG masks instead of CSS. Here is Mozillas documentation on how to do a mask in SVG Webkit masks aren't standards track - so I have a personal doubt