Skip to content

Instantly share code, notes, and snippets.

@chibaye
Created May 2, 2019 08:05
Show Gist options
  • Save chibaye/1e39cd7045abf9199e91f43c56d9e076 to your computer and use it in GitHub Desktop.
Save chibaye/1e39cd7045abf9199e91f43c56d9e076 to your computer and use it in GitHub Desktop.
Loading… (with blinking dots)
<div class="loader">Loading<span class="loader__dot">.</span><span class="loader__dot">.</span><span class="loader__dot">.</span></div>

Loading… (with blinking dots)

Super simple, pure CSS, progressively enhanced loader with blinking ellipsis dots.

A Pen by Chris Nager on CodePen.

License.

@keyframes blink {50% { color: transparent }}
.loader__dot { animation: 1s blink infinite }
.loader__dot:nth-child(2) { animation-delay: 250ms }
.loader__dot:nth-child(3) { animation-delay: 500ms }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment