根据W3 CSS规范,如:input [type〜=“text password”]应该选择类型设置为“text”或“password”的输入字段,但不起作用!我误解了这一行吗?
E[foo~=”warning”] Matches any E element whose “foo” attribute value is
a list of space-separated values,one of which is exactly equal to
“warning”.
CSS spec source,这是桌子底部的第四个。