How to add javascript variable value to CSS variable?

后端 未结 0 1692
小鲜肉
小鲜肉 2021-01-14 01:02

Trying to use Widow.innerWidth and load the received value into a CSS variable, but it does not seem to work. What am I doing wrong?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题