Particle Background Animation | Vanilla Javascript & CSS

Опубликовано: 13 Май 2026
на канале: Ecem Gokdogan
1,158
33

This tutorial shows how to create an animated background using HTML, CSS and vanilla Javascript, with no external libraries required. We’ll build a dynamic background effect where colorful particles smoothly float across the screen. You'll see how to structure the HTML for animation elements, style them with CSS, and use Javascript to control the particles’ movement. By following this video, you’ll understand key concepts like using the canvas element for background animations, creating particles as individual elements, and using JavaScript functions to loop animations with requestAnimationFrame.

📂 Reference:
Create your own Particles.js: https://levelup.gitconnected.com/crea...


⭐ Lists:
Swiper JS:    • Swiper JS  
GSAP:    • GSAP  
Slider with Vanilla Javascript & CSS:    • Slider with Vanilla Javascript & CSS  
Background Animation:    • Background Animation  
CSS Hover Effect:    • CSS Hover Effect  


👩‍💻 My Social Profiles:
X: https://x.com/ecemgo
Codepen: https://codepen.io/ecemgo
GitHub: https://github.com/ecemgo
TikTok:   / ecemgo  


🕔 Timestamps:
0:00 – Intro
0:21 – HTML
0:33 – CSS
1:46 – Javascript