【发布时间】:2016-12-21 18:04:15
【问题描述】:
这是在 CSS 中设置单选按钮样式的正确方法吗?
input [type = radio] {
<!-- Css stuff -->
}
【问题讨论】:
-
@Xufox 谢谢,方括号内的空格呢。
-
那些可能没什么区别,但我还是会删除它们,只是为了确定。
-
正确的做法是带引号:input[type="radio"]