Free · For developers and streamers · CSS loaders
Free CSS Three Dots Loader: Bouncing Dots
A free pure CSS loader: three dots hopping in turn. One HTML tag and one stylesheet, no images and no JavaScript. It takes the text colour and sizes with one variable.
Download the CSS (2 KB)Download the animated SVG (1 KB)
- Pure CSS, no images, fonts or JavaScript
- Takes the text colour (currentColor)
- Sized with one variable, --ll-size (48px by default)
- One loop lasts 1 second
- Also comes as an animated SVG that moves the same way
Add the stylesheet, paste the HTML where the loader should show, then set its size and colour: .ll-dots-3-bounce { --ll-size: 32px; color: #2b7cff; }
The HTML
<span class="ll-dots-3-bounce" role="status" aria-label="Loading"><i></i><i></i><i></i></span>The CSS
.ll-dots-3-bounce{--ll-size:48px;position:relative;display:inline-block;vertical-align:middle;width:calc(var(--ll-size)*1);height:calc(var(--ll-size)*.6);color:inherit}
.ll-dots-3-bounce>i{position:absolute;display:block}
.ll-dots-3-bounce>i:nth-child(1){left:calc(var(--ll-size)*.115);top:calc(var(--ll-size)*.29);width:calc(var(--ll-size)*.18);height:calc(var(--ll-size)*.18);border-radius:50%;background:currentColor;transform-origin:calc(var(--ll-size)*.09) calc(var(--ll-size)*.09);animation:ll-dots-3-bounce-bounce 1s cubic-bezier(.65,0,.35,1) 0s infinite}
.ll-dots-3-bounce>i:nth-child(2){left:calc(var(--ll-size)*.41);top:calc(var(--ll-size)*.29);width:calc(var(--ll-size)*.18);height:calc(var(--ll-size)*.18);border-radius:50%;background:currentColor;transform-origin:calc(var(--ll-size)*.09) calc(var(--ll-size)*.09);animation:ll-dots-3-bounce-bounce 1s cubic-bezier(.65,0,.35,1) -.7917s infinite}
.ll-dots-3-bounce>i:nth-child(3){left:calc(var(--ll-size)*.705);top:calc(var(--ll-size)*.29);width:calc(var(--ll-size)*.18);height:calc(var(--ll-size)*.18);border-radius:50%;background:currentColor;transform-origin:calc(var(--ll-size)*.09) calc(var(--ll-size)*.09);animation:ll-dots-3-bounce-bounce 1s cubic-bezier(.65,0,.35,1) -.5833s infinite}
@keyframes ll-dots-3-bounce-bounce{0%{transform:translate(0,0)}30%{transform:translate(0,calc(var(--ll-size)*-.22))}60%{transform:translate(0,0)}100%{transform:translate(0,0)}}© Master Invictus. Free to use in your own personal and commercial projects. Please don't resell it or share the files themselves; link to this page instead.
More like this
Free CSS Typing Indicator: Four Fading Dots
Free CSS Bars Loader: Five Bars in a Wave
Free CSS Indeterminate Progress Bar
Free CSS Ripple Loader: Three Rings
All free downloads for developers and game makers · Free printables