开发者

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

开发者 https://www.devze.com 2023-02-20 04:56 出处:网络
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 suc

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

精彩评论

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