Page 1 of 1

CSS "und" und "oder"

Posted: 15 Feb 2025, 07:31
by Anonymous
Ich habe ziemlich große Schwierigkeiten, weil ich mich vom Styling einiger Eingabetypen anathematisieren muss. Ich hatte so etwas wie: < /p>

Code: Select all

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

Aber ich möchte auch keine Kontrollkästchen stylen. < /p>

Ich habe es versucht: < /p>

.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"])
< /code>

Verwenden Sie && < /code>? Und ich muss bald || 
verwenden, und ich denke, dass die Verwendung gleich sein wird. />
Ich weiß immer noch nicht, wie man || und && richtig verwendet. Ich konnte in W3 -Dokumenten nichts finden.