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