Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

cursor css

/* Keyword value */
cursor: auto;
cursor: pointer;

/* more at: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#keyword
/* … */
cursor: zoom-out;

/* URL with mandatory keyword fallback */
cursor: url(hand.cur), pointer;

/* URL and coordinates, with mandatory keyword fallback */
cursor: url(cursor_1.png) 4 12, auto;
cursor: url(cursor_2.png) 2 2, pointer;

/* URLs and fallback URLs (some with coordinates), with mandatory keyword fallback */
cursor: url(cursor_1.svg) 4 5, url(cursor_2.svg), /* … ,*/ url(cursor_n.cur) 5 5,
  progress;

/* Global values */
cursor: inherit;
cursor: initial;
cursor: revert;
cursor: revert-layer;
cursor: unset;
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #cursor #css
ADD COMMENT
Topic
Name
9+1 =