-moz-background-clip:* text *在Mozilla中 [英] -moz-background-clip: *text* in Mozilla
问题描述
有没有一个好的方法来实现这在Mozilla?我已经在Webkit中使用-webkit-background-clip:text ;.我一直试图实现它到Firefox没有成功。 MDN 将其列为-moz-background-clip,但没有'文本'属性。最终的CSS3属性是background-clip,但是我没有能够找到'text'是跨引擎的有效选项还是只是webkit的东西。先感谢您的澄清!
Is there a good way to implement this in Mozilla? I have done it successfully in Webkit using -webkit-background-clip: text;. I have been trying to implement it into Firefox with no success. MDN has it listed as -moz-background-clip but there is no 'text' attribute. The finalized CSS3 attribute is background-clip but I have not been able to find if 'text' is a valid option across engines or if it is a webkit only thing. Thanks in advance for the clarification!
推荐答案
我认为Webkit是自己支持这个功能。发现了一个使用SVG的有趣的跨浏览器变体: http://www.myadzel.ru/tests/html / text-background / 。
I think Webkit is on their own in supporting this feature at this point. Found an interesting cross-browser variation that uses SVG though: http://www.myadzel.ru/tests/html/text-background/.
这篇关于-moz-background-clip:* text *在Mozilla中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!