cursor pointer block css code example
Example 1: css cursor pointer
cursor: pointer;
/* Mouse image is a hand */
Example 2: cursor not pointer
#Element {
cursor: pointer; /*When you point on this element, cursor will be
a pointer.*/
}
#Element {
cursor: default; /*Will make the cursor not point.*/
}
Example 3: change the cursor css
/* All differents cursors */
/* See https://www.w3schools.com/cssref/playit.asp?filename=playcss_cursor */
/* to test them all */
cursor: alias
cursor: all-scroll;
cursor: auto;
cursor: cell;
cursor: context-menu;
cursor: col-resize;
cursor: copy;
cursor: crosshair;
cursor: default;
cursor: e-resize;
cursor: ew-resize;
cursor: grab;
cursor: grabbing;
cursor: help;
cursor: move;
cursor: n-resize;
cursor: ne-resize;
cursor: nesw-resize;
cursor: ns-resize;
cursor: nw-resize;
cursor: nwse-resize;
cursor: no-drop;
cursor: none;
cursor: not-allowed;
cursor: pointer;
cursor: progress;
cursor: row-resize;
cursor: s-resize;
cursor: se-resize;
cursor: sw-resize;
cursor: text;
cursor: url(myBall.cur),auto;
cursor: w-resize;
cursor: wait;
cursor: zoom-in;
cursor: zoom-out;
Example 4: pointer help
ptr++; // Pointer moves to the next int position (as if it was an array)
++ptr; // Pointer moves to the next int position (as if it was an array)
++*ptr; // The value of ptr is incremented
++(*ptr); // The value of ptr is incremented
++*(ptr); // The value of ptr is incremented
*ptr++; // Pointer moves to the next int position (as if it was an array). But returns the old content
(*ptr)++; // The value of ptr is incremented
*(ptr)++; // Pointer moves to the next int position (as if it was an array). But returns the old content
*++ptr; // Pointer moves to the next int position, and then get's accessed, with your code, segfault
*(++ptr); // Pointer moves to the next int position, and then get's accessed, with your code, segfault