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