does a disabled button in css stop your program code example
Example: css for disabled button
/* CSS Selectors for CSS2 and CSS3 both */
button:disabled,
button[disabled]{
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}