css set hover scurser code example Example 1: css cursor pointer hover .pointer { cursor: pointer; } Example 2: on hover change cursor li { cursor: pointer; }