Skip to content

Instantly share code, notes, and snippets.

@edwardkenfox
Last active December 24, 2016 01:20
Show Gist options
  • Select an option

  • Save edwardkenfox/fecaed904eec294557238490175585bc to your computer and use it in GitHub Desktop.

Select an option

Save edwardkenfox/fecaed904eec294557238490175585bc to your computer and use it in GitHub Desktop.
minimalistic loader
<!DOCTYPE html>
<head>
</head>
<body>
<style type="text/css">
@keyframes spin-frame { to { transform: translateY(-15.0em); } }
.loader {
display: inline-block;
height: 1.3em;
line-height: 1.5em;
overflow: hidden;
}
.loader:after {
animation: spin-frame 1s steps(10) infinite;
content: "\280B\A\2819\A\2839\A\2838\A\283C\A\2834\A\2826\A\2827\A\2807\A\280F";
display: inline-table;
white-space: pre;
-webkit-animation: spin-frame 1s steps(10) infinite;
}
</style>
<span class="loader"></span>
</body>
</html>
@edwardkenfox
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment