css disabled click div code example Example: disable click css .avoid-clicks { pointer-events: none; }