DEV Community

Cover image for I made 100 CSS loaders for your next project
Temani Afif
Temani Afif

Posted on • Updated on

I made 100 CSS loaders for your next project

You either make a super fast website/application or you use loaders. I think most of us fall into the second category.

Now the question is: what loader should I use? the "loading" text, the 3 dots, a progress bar, the Batman symbol??

You no more need to bother yourself searching for loaders. Find below a collection of 100 different CSS loaders. From the simple one to the more fancy one, you will find the most suitable for your project.

Each loader is done using a single element. Yes, only one <div>, nothing more. You don't have to copy a ton of code. Add a class to your div and start loading!


Also available online 👇

css-loaders.com


Table of content


The Classic

The Infinity

The Dots

The Bars

The Spinner

The Continuous

The Progress

The Wobbling

The Shapes

The Pulsing


That's it!

I hope you liked this first collection of CSS loaders. Yes, it's only the first one and more will come! stay tuned and follow me if you don't want to miss the next collection. 👍

Before you leave don't forget to check the underline/overlay collection I made. More than 100 different animations as well:


You want to support me?

buy me a coffee

OR

Become a patron

Oldest comments (152)

Collapse
 
devlorenzo profile image
DevLorenzo • Edited

This article deserve a 🦄!

Collapse
 
marex980 profile image
marex980

Awesome! Thanks a lot!

Collapse
 
icecoffee profile image
Atulit Anand • Edited

This is so beautiful , I'm enthralled.
Seriously I want to animate my name too any advise @afif or anyone would like to give me.

Collapse
 
afif profile image
Temani Afif

what kind of animation are you looking for?

Collapse
 
icecoffee profile image
Atulit Anand • Edited

Like one you see in upwork
Where the name becomes a symbol
Thanks for replying mate

Thread Thread
 
afif profile image
Temani Afif

where exactly on that page? can you show me a screenshot?

Thread Thread
 
icecoffee profile image
Atulit Anand

Here

Please check it out here, in the last couple of frames how a strand of SVG swooshes in and changes into UP

Thread Thread
 
afif profile image
Temani Afif

such animation aren't easy to perform using CSS only. Either you use SVG or canvas. Either you have a strong SVG skill to build it alone from scratch (not an easy task) or you consider some plugin. Ex: cssscript.com/svg-text-font-animate/ / codepen.io/Zaku/pen/ALChE / greensock.com/gsap-plugins/

Thread Thread
 
icecoffee profile image
Atulit Anand • Edited

Thank you very much, It's exactly what I wanted.

Thread Thread
 
itwasmattgregg profile image
Matt Gregg

Yea for complex stuff like that I work on your Adobe after effects skills and then use a tool like lotti github.com/airbnb/lottie-web to convert it into a web animation. You can draw svg letters easily enough but complex stuff is animation design usually done with AE.

Collapse
 
madza profile image
Madza

Awesome stuff as always 💯🏆

Collapse
 
radonirinamaminiaina profile image
Radonirina Maminiaina

Awesome! Thank you for your share.

Collapse
 
shaijut profile image
Shaiju T
Collapse
 
afif profile image
Temani Afif

ok, wait for them in the next collection 😉

Collapse
 
host510 profile image
Mikhail

Thanks a lot for your work

Collapse
 
sagarnaik12 profile image
sagarnaik12

This is THE BEST Animation Article I have ever read on Animation. Temani Afif , My Friend, Thanks a lot.

Collapse
 
fedeasin profile image
Fred

Great work!

Collapse
 
guscarpim profile image
Gustavo Scarpim • Edited

Nice! Congrats!

Collapse
 
mmoutih profile image
marouane moutih

great job

Collapse
 
jamesncox profile image
James Cox

Well this is just incredible. I am astounded how much you've created here. Hats off to you! And thanks for offering this to everyone!

Collapse
 
afif profile image
Temani Afif

Welcome ;) stay tunned for more collections and in case you missed it I have already done more than 400 :) dev.to/afif/series/12016

Collapse
 
pavel_polivka profile image
Pavel Polívka

Awesome. Thank you.

I will probably still write loading in plain text :D

Collapse
 
funbeedev profile image
Fum

Brilliant as usual and thanks for sharing!!

Collapse
 
edydeyemi profile image
Edydeyemi

This is awesome! Thanks for sharing

Some comments have been hidden by the post's author - find out more