style disabled button
button:disabled,
button[disabled]{
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}<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>
Also in CSS:
- how to change hyperlink color in css
- text align justify
- installer scss projet wordpress
- Can you change the color of a placeholder
- what is scss
- descendent selector in css
- textarea placeholder
- css last child
- To set HTML attribute and css styles in html helper control in mvc
- vh in css
- general sibling selector
- add background image css
- text shadow css
- lier class et css
- hwo to make a round corners with css
- css class selector
- css grid-template
- css translate3d
- css calc height
- button two lines on ipad
- comment css
- flip image css
- jquery element css
- how do i move the numbers of an ordered list centered with css