浏览器对文本阴影传播值的支持 [英] Browser support for text-shadow spread value
问题描述
可见的讨论此处,但已经2年!
Seen discussions here but it has been 2 years!
我不知道我是否在使用此权限,但是我有以下sass/compass
代码:
I don't know if I'm using this right but I have the following sass/compass
code:
+text-shadow(red 0 3px 0 3px)
生成以下css
:
text-shadow: red 0 3px 3px, red 0 3px 0 3px;
text-shadow: red 0 3px 0 3px, red 0 3px 0 3px;
Chrome/Safari/Firefox/Opera均不起作用.
Which not works in neither Chrome/Safari/Firefox/Opera.
这是声明中的内容还是此spread
功能确实从规格中删除了?
Is this something with the declaration or this spread
feature was really removed from specs?
推荐答案
It says in the specs that,
此属性接受以逗号分隔的阴影效果列表 应用于元素的文本.值解释为 阴影" [CSS3BG]. (但是请注意,传播的值不允许 .) 阴影将应用于元素的所有文本以及任何文本 它指定的装饰.
This property accepts a comma-separated list of shadow effects to be applied to the text of the element. Values are interpreted as for ‘box-shadow’ [CSS3BG]. (But note that spread values are not allowed.) The shadow is applied to all of the element's text as well as any text decorations it specifies.
这篇关于浏览器对文本阴影传播值的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!