computedStyleMap ,返回的是CSSUnitValue物件,這就ok了。我們拿前面的第一部分CSS變數的程式碼測試一波 document.querySelector('.x').
確定! 回上一頁