Created
September 7, 2015 03:30
-
-
Save ScheerMT/c84335a4bce10a0a3b5d to your computer and use it in GitHub Desktop.
Revisions
-
ScheerMT created this gist
Sep 7, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,61 @@ <html> <!-- Stolen From https://github.com/nubleh/nubleh.github.io/blob/master/anim/index.html --> <!-- Motivation from: https://www.reddit.com/r/gifs/comments/3jw277/wifi_loading_wheel/ --> <head> <style type="text/css"> @-webkit-keyframes rotate { 0% { -webkit-transform: none; } 100% { -webkit-transform: rotateZ(360deg); } } @-moz-keyframes rotate { 0% { -moz-transform: none; } 100% { -moz-transform: rotateZ(360deg); } } * { padding: 0; margin: 0; box-sizing: border-box; } body { padding: 10px; background: #cccccc; overflow: hidden; } .container { width: 500px; height: 500px; position: absolute; top: 50%; left: 50%; margin-top: -250px; margin-left: -250px; -webkit-animation: rotate 2s linear infinite; -moz-animation: rotate 2s linear infinite; } .ring { padding: 5px; width: 100%; height: 100%; border: solid 20px black; border-color: black transparent white transparent; -webkit-border-radius:100%; -webkit-animation: rotate 20s linear infinite reverse; border-radius:100%; -moz-animation: rotate 20s linear infinite reverse; } </style> </head> <body> <div class="container"> <div class="ring"><div class="ring"><div class="ring"><div class="ring"><div class="ring"><div class="ring"><div class="ring"><div class="ring"><div class="ring"></div></div></div></div></div></div></div></div></div> </div> </body> </html>