set cursor to pointer onHover code example Example 1: on hover change cursor li { cursor: pointer; } Example 2: onhover mouse pointer css li { cursor: pointer; }