Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 218 Bytes

LESS.md

File metadata and controls

19 lines (13 loc) · 218 Bytes

LESS

  1. calc 函数

    计算不同单位

    calc(~"100% - 7rem");
    // or
    e("calc(100% - 7rem)");

    使用变量

    @diff: 3rem;
    
    clac(~"100% - @{diff}");