JS 无法直接获取元素的:after伪元素节点,因为它不是DOM节点。但是可以使用getComputedStyle ... JavaScript前端中的伪类元素before和after使用详解.
確定! 回上一頁