freelancer mojibur

Particle Effectfor Elementor css and js

Container id= tsparticles

HTML code

<link rel=’stylesheet’ href=’https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css’><link rel=”stylesheet” href=”./style.css”>
<script src=’https://cdn.jsdelivr.net/npm/tsparticles@1.37.4/tsparticles.min.js’></script>

<script >
tsParticles.load(“tsparticles”, {
fps_limit: 60,
interactivity: {
detect_on: “canvas”,
events: {
onclick: { enable: true, mode: “push” },
onhover: {
enable: true,
mode: “attract”,
parallax: { enable: false, force: 60, smooth: 10 }
},
resize: true
},
modes: {
push: { quantity: 4 },
attract: { distance: 200, duration: 0.4, factor: 5 }
}
},
particles: {
color: { value: “#ffffff” },
line_linked: {
color: “#ffffff”,
distance: 150,
enable: true,
opacity: 0.4,
width: 1
},
move: {
attract: { enable: false, rotateX: 600, rotateY: 1200 },
bounce: false,
direction: “none”,
enable: true,
out_mode: “out”,
random: false,
speed: 2,
straight: false
},
number: { density: { enable: true, value_area: 800 }, value: 80 },
opacity: {
anim: { enable: false, opacity_min: 0.1, speed: 1, sync: false },
random: false,
value: 0.5
},
shape: {
character: {
fill: false,
font: “Verdana”,
style: “”,
value: “*”,
weight: “400”
},
image: {
height: 100,
replace_color: true,
src: “images/github.svg”,
width: 100
},
polygon: { nb_sides: 5 },
stroke: { color: “#000000”, width: 0 },
type: “circle”
},
size: {
anim: { enable: false, size_min: 0.1, speed: 40, sync: false },
random: true,
value: 5
}
},
polygon: {
draw: { enable: false, lineColor: “#ffffff”, lineWidth: 0.5 },
move: { radius: 10 },
scale: 1,
type: “none”,
url: “”
},
retina_detect: true
});

</script>

Contact me if you need any help.

Add Your Heading Text Here

Leave a Reply

Your email address will not be published. Required fields are marked *