0
實施例:在手寫筆中,如何使用calc內部的變量作爲變換屬性值?
paddingVar = 12px
.class
transform scale(0.8) translateX(calc(20% - paddingVar))
無論是大括號也不典型計算插值溶液(left "calc(50% - %s)" % arrow-size
)已爲我工作。
當我嘗試上述語法on the Stylus website它似乎工作,但實際上使用它不。