JavaScript 使用 window.getComputedStyle(d,'::before') 獲取div 裡頭偽元素最終使用的style,然後顯示在span 裡面。 var d = document.getElementById('d'); var s = ...
確定! 回上一頁