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