css diabled button code example
Example 1: html button disabled
<button type="button" disabled>This button is disabled</button>
Example 2: on disabled attribute set button design change
<button id="btnSubmit" class="btn-disable">Click</button>
<style type="text/css">
.btn-disable
{
cursor: not-allowed;
pointer-events: none;
/*Button disabled - CSS color class*/
color: #c0c0c0;
background-color: #ffffff;
}
</style>