tsparticles / tsparticles

tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.
https://particles.js.org
MIT License
7.18k stars 798 forks source link

[Bug]: 'z-index' is not work #5322

Closed AlaJ97 closed 2 months ago

AlaJ97 commented 2 months ago

Contact Details

ala.jaber@taqneensoft.com

What happened?

static particlesOptions = { style:{ zIndex: '10' }, } The property zIndex does not work. However, if I replace it with 'z-index', it works.

tsParticles Version

3.0.0

tsParticles Configuration

static particlesOptions = {
    style:{
        zIndex: '10'
    },
}

What browsers are you seeing the problem on?

Microsoft Edge

Relevant log output

No response

Code of Conduct

matteobruni commented 2 months ago

https://github.com/tsparticles/tsparticles/issues/5319#issuecomment-1994577498