Skip to content

Instantly share code, notes, and snippets.

@mofodox
Forked from daneden/dabblet.css
Created June 7, 2012 11:04
Show Gist options
  • Save mofodox/2888238 to your computer and use it in GitHub Desktop.
Save mofodox/2888238 to your computer and use it in GitHub Desktop.
Super simple image-free screen-reader-friendly low-markup loading animation
/**
* Super simple image-free screen-reader-friendly low-markup loading animation
*/
html {
font: 100%/1.5 Helvetica Neue, Helvetica, Arial, sans-serif;
min-height: 100%;
-webkit-font-smoothing: antialiased;
}
.loading {
width: 12px;
height: 12px;
border: 3px dashed;
animation: loading 1s linear infinite;
overflow: hidden;
text-indent: 100%;
whitespace: no-wrap;
border-radius: 100%;
margin: 50px auto;
}
@keyframes loading {
to { transform: rotate(360deg); }
}
<div class=loading>Loading...</div>
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment