<input type="text">
<input type="text" class="some-component" />
<input type="text" class="one-off" />
input {
display: block;
margin: 1rem;
}
input:where(:not([class*="some-component"])) {
border: 4px solid blue;
}
/* some feature later in cascade */
.one-off {
border: 1px solid red;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.