concept
Cursor hotspot — CSS reference
A custom cursor hotspot identifies the pixel aligned with the pointing coordinate. A keyword fallback is required after image candidates. This example embeds a small SVG and checks the computed fallback, not the operating system cursor image.
Formal Syntax & Structure
css syntaxcss
cursor: url("cursor.png") 2 3, pointer;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Cursor hotspot</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}#a{cursor:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27%3E%3Ccircle cx=%278%27 cy=%278%27 r=%276%27/%3E%3C/svg%3E") 8 8, pointer}</style><body><button id="a">Inspect cursor</button></body></html>