How to check if element's “before” psuedo selector has a specific style associated with it? (Vanilla JS)

后端 未结 0 802
渐次进展
渐次进展 2020-12-01 04:15

If I have an element with the following style rule:

.element::before {
  box-shadow: inset 0 0 0 2px white, inset 0 0 0 12px tomato;
}

How ca

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