how to make a div disabled using css code example Example: css disabled div .disabledbutton { pointer-events: none; opacity: 0.4; }