SASS中的prefixed()函数有什么作用?

时间:2012-10-24 06:41:51

标签: function sass mixins

我一直在尝试根据background mixin from Compass在SASS中构建自己的渐变混音。

来源中有一行说明如下:

$add-pie-bg: prefixed(-pie, $backgrounds) or $mult-bgs;

我到处寻找,但我无法找到prefixed函数的作用。

任何人都能对这一点有所了解吗?

1 个答案:

答案 0 :(得分:0)

Read the documentation

prefixed($prefix, $arg, ...)

Returns true if any of the arguments require the given prefix.
相关问题