Answers for "how to style disabled button"

CSS
2

style disabled button

button:disabled,
button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
Posted by: Guest on June-16-2020
3

css for disabled button

/* CSS Selectors for CSS2 and CSS3 both */
button:disabled,
button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
Posted by: Guest on April-04-2021
1

css disabled

<input type="text" name="username" value="admin" >

<style type="text/css">
input[name=username] {
    pointer-events: none;
 }
</style>
Posted by: Guest on May-10-2020

Browse Popular Code Answers by Language