【发布时间】:2012-04-29 16:45:10
【问题描述】:
可能重复:
is it possible to select element with specific content or attribute in CSS?
基本上,我可以访问我需要设置样式的第三方表单的 css,并且该元素没有 ID,所以我不确定如何使用 css 设置样式,因为我不能在这里使用它的类是表单代码:
<label class="form_label" for="example" style="">email</label>
怎么可能给这个设置样式,所以它只适用于那些for属性等于example的?
非常感谢。
【问题讨论】: