disable button with css code example
Example 1: style disabled button
button:disabled,
button[disabled]{
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}
Example 2: css for disabled button
/* CSS Selectors for CSS2 and CSS3 both */
button:disabled,
button[disabled]{
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}