什么是-moz-use-text-color?
据我所知,它在 FireFox 中已被弃用,其替代品是 currentColor。我的印象是它用于与 SVG 相关的东西。但这到底是什么? :)
I understand it's deprecated in FireFox, and its replacement is currentColor. My impression is that it's used for SVG-related stuff. But what the heck is it? :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它并不是真正与 SVG 相关的东西。
它与 currentColor 的作用相同,例如:
它是 mozilla 特定的 CSS 事物,直到它变得标准化(CSS3)
It's not really for SVG-related stuff.
It does the same as currentColor, e.g.:
It was a mozilla specific CSS thing until it became standardized (CSS3)
只是对此的后续,它已被弃用,正确的用法将是更多的内容:
Just a follow up on this, it is deprecated, and the correct usage would be something more along the lines of: