using javascript calculated values in less

前端 未结 7 1470
无人及你
无人及你 2020-12-18 00:01

In LESS I used following code to get the window\'s height.

@winheight:`$(window).height()`

What I\'m getting is a number, but when i add

7条回答
  •  自闭症患者
    2020-12-18 00:37

    Does replacing empty space help for you? Try reading the answer of this: Replacing spaces with underscores in JavaScript?

提交回复
热议问题