Then we can set the value in JS: const element = document.querySelector('.my-element') element.style.setProperty('--height' ...
確定! 回上一頁