css property to disable the button code example
Example: 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>