CSS 3 selecting elements by checking an attribute for multiple values

Hi,

I want to apply the same style to text and email input types.
I tried input[type=“text”][type=“email”] but it’s not working.

Any help?

Hi,

You can always use separate rules for this.


input[type="text"], input[type="email"] {}

Thanks a lot