Compute which JS selector will take priority

前端 未结 0 1006
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 11:08

Is it possible in JavaScript to check which element selector would take precedence in JavaScript, given a list of selectors?

For example, if I have the following two

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