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.
The position of the canvas is stuck on fixed. I wanted to use the particles canvas on a single div in my website but it's stuck on the entire document. The canvas has a position: fixed! important style that cannot be overwritten. I've tried changing it using position: relative !important in the style prop and in a css file that but nothing worked. I even tried changing it using useRef but still nothing. How can I change the position of the canvas?
tsParticles Version
3.0.0
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Contact Details
andrewkimani766@gmail.com
What do you need?
The position of the canvas is stuck on fixed. I wanted to use the particles canvas on a single div in my website but it's stuck on the entire document. The canvas has a position: fixed! important style that cannot be overwritten. I've tried changing it using position: relative !important in the style prop and in a css file that but nothing worked. I even tried changing it using useRef but still nothing. How can I change the position of the canvas?
tsParticles Version
3.0.0
Code of Conduct