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

Add support for zIndex modification #2

Open
advance512 opened this issue May 15, 2017 · 2 comments
Open

Add support for zIndex modification #2

advance512 opened this issue May 15, 2017 · 2 comments

Comments

@advance512
Copy link

Or perhaps set zIndex=2000 for the confetti div.

@joshuagarity
Copy link

joshuagarity commented Aug 30, 2018

If you wrap the Confetti component in a div you can do that nicely:

<div className="confetti-overlay">
         <Confetti active={ this.state.confetti } config={ config }  /> 
</div>

Then just add any absolute positions, z-indexs, etc.

@piedrahitapablo
Copy link

you can also pass a className prop to the Confetti component that includes the z-index change

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