Answers for "css if button is disabled"

CSS
2

style disabled button

button:disabled,
button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
Posted by: Guest on June-16-2020
0

css disable button click

button.disabled{
  pointer-events: none;
}
Posted by: Guest on January-21-2021
3

css for disabled button

/* CSS Selectors for CSS2 and CSS3 both */
button:disabled,
button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
Posted by: Guest on April-04-2021

Browse Popular Code Answers by Language