2 Ways to Create an Animated Particle Background
Advertisement
Advertisement
Advertisement
Advertisement
Advertisement
Read Time:
1 min
In today’s screencast I’m going to show you how to create an animated particle background. Particles are a great alternative to standard hero sections on a web page; you might have seen them used on sites like marvelapp.com for example, and you could also use this effect for creating snowfall.
We’re going to look at two ways of creating particles. The first one relies solely on CSS, whilst the second uses a JavaScript plugin called particles.js.
How to Create Particles for Your Website

Demos
Here’s the example which uses CSS only:
And here’s the demo which uses particles.js:
Have fun seeing what you can do with these, and let us know in the comments where you’ve used particles in the wild!
Advertisement
Want a weekly email summary?
Subscribe below and we’ll send you a weekly email summary of all new Web Design tutorials. Never miss out on learning about the next big thing.
Sign upAdi Purdila is a web design instructor for Tuts+. With over 100 courses and 200 tutorials published to date, Adi's goal is to help students become better web designers and developers by creating content that’s easy to follow and offers great value.
Being self-taught himself, Adi strongly believes that constant learning (academic or otherwise) is the only way to move forward and achieve your goals.
When not typing away at his keyboard, he loves woodworking and caring for his ever-growing family of rescue pets.
You can stay up to date with what he's doing by following him on social media or visiting his website at adipurdila.com.
Advertisement
Advertisement
Advertisement
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.