JSFiddle - React, Tailwind, and code Playground
HTML
<style>
[a="1"][b="2"][c="3"][d="4"][e="5"][f="6"][g="7"][h="8"][i="9"][j="10"][k="11"] {
color: #F00;
}
#test {
color: #00f;
}
</style>
<div id="test" a=1 b=2 c=3 d=4 e=5 f=6 g=7 h=8 i=9 j=10 k=11>
选择器优先级计算示例 a=0 b=1 c=11 d=0
</div>