Why is my statement based on getComputedStyle not running?

前端 未结 0 1519
粉色の甜心
粉色の甜心 2021-02-07 13:58

I have the following code that I\'m using to update the css variable called --changeColor

const r = document.querySelector(\':root\');
const currentColor = getCom         


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