Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the color of the cursor? #55

Open
lalitendraswamy opened this issue Jan 31, 2024 · 3 comments
Open

How to change the color of the cursor? #55

lalitendraswamy opened this issue Jan 31, 2024 · 3 comments

Comments

@lalitendraswamy
Copy link

No description provided.

@dshongphuc
Copy link
Owner

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

@lalitendraswamy
Copy link
Author

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

@rajmondx
Copy link

rajmondx commented Jun 8, 2024

#magicPointer {
  background: #fff !important;
}

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants