CSS "and" and "or"

Posted by Misiur on Stack Overflow See other posts from Stack Overflow or by Misiur
Published on 2010-05-09T08:42:12Z Indexed on 2010/05/09 8:48 UTC
Read the original article Hit count: 225

Filed under:
|

Hi there. I've got quite big trouble, because i need to anathematise from styling some input types. I had something like:

.registration_form_right input:not([type="radio")
{
 //Nah.
}

But i don't want to style checkboxes too.

I've tried:

.registration_form_right input:not([type="radio" && type="checkbox"])
.registration_form_right input:not([type="radio" && "checkbox"])
.registration_form_right input:not([type="radio") && .registration_form_right input:not(type="checkbox"])

How to use &&? And I'll need to use || soon, and I think that usage will be same.

Thanks.

© Stack Overflow or respective owner

Related posts about css

Related posts about conditional-operator