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

Whole page turns black after applying the code. #73

Open
LuigiCotocea opened this issue May 4, 2024 · 1 comment
Open

Whole page turns black after applying the code. #73

LuigiCotocea opened this issue May 4, 2024 · 1 comment

Comments

@LuigiCotocea
Copy link

The whole page turns black but the effect on the cursor works,
Screenshot (1072)
any fixes?

This is what i applied - <script src="https://unpkg.com/cursor-effects@latest/dist/browser.js"></script>
<script type="module">

        window.addEventListener("load", (event) => { new cursoreffects.rainbowCursor(); });
    </script>
@tholman
Copy link
Owner

tholman commented May 4, 2024

I suspect you may be applying a background color to all canvas elements in your css somewhere. You should be able to inspect the page and see where.

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

2 participants