0
实施例:在手写笔中,如何使用calc内部的变量作为变换属性值?
paddingVar = 12px
.class
transform scale(0.8) translateX(calc(20% - paddingVar))
无论是大括号也不典型计算插值溶液(left "calc(50% - %s)" % arrow-size
)已为我工作。
当我尝试上述语法on the Stylus website它似乎工作,但实际上使用它不。