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