Suppose I have the following:
<div data-pid="">Unknown</div>
<div data-pid="123">Known 123</div>
Is there a way in CSS to select only elements where the data-pid
attribute is non-empty?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…