CSS cursor URL usage format: css:{cursor:url (' icon path '), auto;}//ie,ff,chrome Browser can
Instance code: Html{cursor:url ("Http://ued.taobao.com/blog/wp-content/themes/taobaoued/images/cursor.ico"), auto;}
Parsing: The previous URL is a custom mouse icon path, the 2nd parameter auto is the CSS standard cursor style, can be replaced by other properties (such as Pointer/default, etc.)!
(Note: W3school recommended the 2nd parameter must define a normal cursor, in case the URL defines the available cursors to make available!) In addition, you can omit the 2nd parameter under IE)
To customize the mouse display icon, you need to pay attention to the following issues
Format of the icon:
IE supports cur,ani,ico these three formats, FF supports bmp,gif,jpg,cur,ico these formats, does not support ANI format, and does not support GIF animation format, so it is generally good to save the URL reference picture as ICO or cur format!
Size of the icon:
The size of the mouse picture recommended size is 32*32, otherwise it may cause the problem of inconsistent icon size!
In addition, in the browser, the mouse picture does not display the problem, most of the problem in the mouse picture URL path Reference, you can try to separate the absolute and relative path reference.
Finally, enclose the possible values for the cursor property: (All major browsers support the following cursor properties)