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