pointer events in css code example Example 1: css disable mouse events pointer-events: none; Example 2: onhover mouse pointer css li { cursor: pointer; }