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