<label for="some1">This is label</label>
<input type="text" name="some1" value="Test" />
& > label input:disabled {
color: red;
}
<div class="form-element">
<input type="text" name="some1" value="Test" disabled />
<label for="some1">This is label</label>
</div>
.form-element {
display: flex;
flex-direction: row;
}
.form-element label {
order: 1;
}
.form-element input {
order: 2;
}
.form-element input:disabled + label {
color: red;
}
input:disabled ~ label
, но почему-то не работает.