disable click on div and cursor pointer not allowed code example Example: css disable mouse events pointer-events: none;