我们可以使用:not 选择器来实现。
代码如下:
input:not([type]), input[type='text'], input[type='password'] {
/* style here */
}
not: 选择器只能使用在IE9或更高的版本之上。
我们可以使用:not 选择器来实现。
代码如下:
input:not([type]), input[type='text'], input[type='password'] {
/* style here */
}
not: 选择器只能使用在IE9或更高的版本之上。