CSS 中的 HTML 'for'属性目标


<li>
<input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_local_pickup7" value="local_pickup:7" class="shipping_method" checked="checked">
<label for="shipping_method_0_local_pickup7">Self pickup</label>
</li>

如何在CSS样式表中定位此标签?我想通过css编辑这个级别的值。

for只不过是name属性。你只需要针对css中的name属性就可以了。

最新更新