Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 168 Bytes

Stylus.md

File metadata and controls

12 lines (9 loc) · 168 Bytes

Stylus

calc()

calc() 函数中使用变量

a = 10px
b = 20px
padding-bootom: "calc(%s + 10rem)" % a
padding-bottom: "calc(%s + %s)" % (a b)