Custom Cursor using CSS styling - html/css - javascript
问题 I'm trying to make a custom cursor without uploading an image.I want the cursor to be a little blue circle. Currently, I'm trying to set the cursor's css as an id. Then I would associate the built in CSS cursor styling with the new id: .mainbody{ .... cursor:#id? }; Is this possible? Am I even going about this correctly? All help appreciated. 回答1: If you want to have a custom CSS cursor, you need to add a div in your markup, style it, hide the default cursor and move it to the mouse