div>input:not([disabled]) ~ label{
color:green;
}
the above piece of code will target "child cousin" but I want to target the "parent cousin" element . >how can I achieve this using CSS.
<div>
<input type="text">
<input type="text" disabled>
<label>child cousin</label>
</div>
<label>parent cousin</label>