How to style disabled HTML button in CSS

1 Answer

0 votes
<button disabled="true" class="btn">Click</button>
.btn:disabled {
   background: #fff;
   color: #ccc;
   cursor: no-drop;
}

 



answered Jun 27, 2021 by avibootz
...