dshongphuc / magic-mouse-js

A lightweight javascript library to create some amazing effects for the mouse (cursor) on your website - MagicMouse.js : https://magicmousejs.web.app/
MIT License
393 stars 60 forks source link

How to change the color of the cursor? #55

Open lalitendraswamy opened 8 months ago

dshongphuc commented 8 months ago

Hey you can change color by CSS, check the class name and just update css for it

lalitendraswamy commented 8 months ago

Class name for my div container, or is there any class name for magic-mouse-js? Here is my repo link

rajmondx commented 4 months ago
#magicPointer {
  background: #fff !important;
}

#magicMouseCursor {
  border: 1px solid #fff !important;
}

Note. its better to overwrite directly the css instead of using !important;