开发者

-moz-background-clip: *text* in Mozilla

Is there a good way to implement this in Mozilla? I have done it successfully in Webkit usin开发者_如何学Gog -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!


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/.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜