You need to specify the attributes separately, repeating the types if necessary and using comma(s):
input[type=text], input[type=password]
Your given selector is trying to match an input
with a type
that is both text
and password
, but a single element can't have different values for the same attribute so it fails.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…