css disabled div

CSS
.disabledbutton {
    pointer-events: none;
    opacity: 0.4;
}
Source

Also in CSS: