CSS multiple input[type] selectors

Yep, you’ve got it round the wrong way. The selector is to search within a space seperated list.. i.e.

<element attribute="text password" />

you could find using:

element[attribute~="text"]

The benefit of this is that it shouldn’t match:

<element attribute="textual password" />

To achieve what you’re actually trying to do is a bit more verbose:

input[type="text"], input[type="password"]

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)