div cursor pointer code example Example 1: css cursor pointer hover .pointer { cursor: pointer; } Example 2: cursor pointer .class { cursor: pointer; }