Selector pseudo-class :disabled
The :disabled
CSS pseudo-class represents any
disabled element.
*:disabled {
background-color: dimgrey;
color: linen;
opacity: 1;
}
input[type="text"]:disabled {
background: #ccc;
}
The :disabled
CSS pseudo-class represents any
disabled element.
*:disabled {
background-color: dimgrey;
color: linen;
opacity: 1;
}
input[type="text"]:disabled {
background: #ccc;
}