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

Is there a way to place particles in background? #11

Open
jaymutzafi opened this issue Mar 27, 2018 · 4 comments
Open

Is there a way to place particles in background? #11

jaymutzafi opened this issue Mar 27, 2018 · 4 comments

Comments

@jaymutzafi
Copy link

Something like this https://codepen.io/SebaGarciaM/pen/VeEXoj just with your look/motion etc'.

@matiboux
Copy link

This works for me: https://codepen.io/Matiboux/pen/ejxeML.
I had to disable interactivity, as it does not work properly when the cursor is over the .container element.

I know it's late, you probably found something that works or an alternative, but I just found and used the project. So I though it'd be good to update this issue with a solution.

@jaymutzafi
Copy link
Author

jaymutzafi commented Aug 11, 2018 via email

@matiboux
Copy link

No problem! <3

@ghost
Copy link

ghost commented Feb 7, 2020

To fix the interactivity not working when particles are in a background div, add the following to the overlay div:

.overlay {
    pointer-events: none;
    ... other styles ...
}

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