when to pointer hover code example Example 1: css cursor pointer hover .pointer { cursor: pointer; } Example 2: onhover mouse pointer css li { cursor: pointer; }