Free · For developers and streamers · CSS loaders
Free CSS Loading Spinner: Eight Fading Spokes
A free pure CSS loader: eight bold rounded spokes fading 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 (3 KB)Download the animated SVG (2 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 0.9 seconds
- 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-spokes-8-bold { --ll-size: 32px; color: #2b7cff; }
The HTML
<span class="ll-spokes-8-bold" role="status" aria-label="Loading"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></span>The CSS
.ll-spokes-8-bold{--ll-size:48px;position:relative;display:inline-block;vertical-align:middle;width:calc(var(--ll-size)*1);height:calc(var(--ll-size)*1);color:inherit}
.ll-spokes-8-bold>i{position:absolute;display:block}
.ll-spokes-8-bold>i:nth-child(1){left:calc(var(--ll-size)*.43);top:calc(var(--ll-size)*.08);width:calc(var(--ll-size)*.14);height:calc(var(--ll-size)*.22);border-radius:calc(var(--ll-size)*.07);background:currentColor;transform-origin:calc(var(--ll-size)*.07) calc(var(--ll-size)*.42);transform:rotate(0deg);animation:ll-spokes-8-bold-fade .9s linear 0s infinite}
.ll-spokes-8-bold>i:nth-child(2){left:calc(var(--ll-size)*.43);top:calc(var(--ll-size)*.08);width:calc(var(--ll-size)*.14);height:calc(var(--ll-size)*.22);border-radius:calc(var(--ll-size)*.07);background:currentColor;transform-origin:calc(var(--ll-size)*.07) calc(var(--ll-size)*.42);transform:rotate(45deg);animation:ll-spokes-8-bold-fade .9s linear -.7875s infinite}
.ll-spokes-8-bold>i:nth-child(3){left:calc(var(--ll-size)*.43);top:calc(var(--ll-size)*.08);width:calc(var(--ll-size)*.14);height:calc(var(--ll-size)*.22);border-radius:calc(var(--ll-size)*.07);background:currentColor;transform-origin:calc(var(--ll-size)*.07) calc(var(--ll-size)*.42);transform:rotate(90deg);animation:ll-spokes-8-bold-fade .9s linear -.675s infinite}
.ll-spokes-8-bold>i:nth-child(4){left:calc(var(--ll-size)*.43);top:calc(var(--ll-size)*.08);width:calc(var(--ll-size)*.14);height:calc(var(--ll-size)*.22);border-radius:calc(var(--ll-size)*.07);background:currentColor;transform-origin:calc(var(--ll-size)*.07) calc(var(--ll-size)*.42);transform:rotate(135deg);animation:ll-spokes-8-bold-fade .9s linear -.5625s infinite}
.ll-spokes-8-bold>i:nth-child(5){left:calc(var(--ll-size)*.43);top:calc(var(--ll-size)*.08);width:calc(var(--ll-size)*.14);height:calc(var(--ll-size)*.22);border-radius:calc(var(--ll-size)*.07);background:currentColor;transform-origin:calc(var(--ll-size)*.07) calc(var(--ll-size)*.42);transform:rotate(180deg);animation:ll-spokes-8-bold-fade .9s linear -.45s infinite}
.ll-spokes-8-bold>i:nth-child(6){left:calc(var(--ll-size)*.43);top:calc(var(--ll-size)*.08);width:calc(var(--ll-size)*.14);height:calc(var(--ll-size)*.22);border-radius:calc(var(--ll-size)*.07);background:currentColor;transform-origin:calc(var(--ll-size)*.07) calc(var(--ll-size)*.42);transform:rotate(225deg);animation:ll-spokes-8-bold-fade .9s linear -.3375s infinite}
.ll-spokes-8-bold>i:nth-child(7){left:calc(var(--ll-size)*.43);top:calc(var(--ll-size)*.08);width:calc(var(--ll-size)*.14);height:calc(var(--ll-size)*.22);border-radius:calc(var(--ll-size)*.07);background:currentColor;transform-origin:calc(var(--ll-size)*.07) calc(var(--ll-size)*.42);transform:rotate(270deg);animation:ll-spokes-8-bold-fade .9s linear -.225s infinite}
.ll-spokes-8-bold>i:nth-child(8){left:calc(var(--ll-size)*.43);top:calc(var(--ll-size)*.08);width:calc(var(--ll-size)*.14);height:calc(var(--ll-size)*.22);border-radius:calc(var(--ll-size)*.07);background:currentColor;transform-origin:calc(var(--ll-size)*.07) calc(var(--ll-size)*.42);transform:rotate(315deg);animation:ll-spokes-8-bold-fade .9s linear -.1125s infinite}
@keyframes ll-spokes-8-bold-fade{0%{opacity:1}100%{opacity:.15}}© 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 Three Dots Loader: Bouncing Dots
Free CSS Typing Indicator: Four Fading Dots
Free CSS Bars Loader: Five Bars in a Wave
Free CSS Indeterminate Progress Bar
All free downloads for developers and game makers · Free printables