Created
September 18, 2012 13:22
-
-
Save larscwallin/3743065 to your computer and use it in GitHub Desktop.
Spinning clock
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 characters
<html> | |
<header> | |
<style type="text/css"> | |
/* ========================================================== | |
* SMW Loader | |
* =========================================================*/ | |
.loader{ | |
color: #555; | |
font-family: sans-serif; | |
font-size: 3em; | |
text-align: center; | |
-webkit-border-radius: 50%; | |
border-radius: 50%; | |
border: 5px solid #555; | |
width:100px; | |
height:100px; | |
position:relative; | |
-webkit-animation: rotateit 1.3s linear infinite; | |
-moz-animation: rotateit 1.3s linear infinite; | |
animation: rotateit 1.3s linear infinite; | |
} | |
@-webkit-keyframes rotateit { | |
from { | |
-webkit-transform: rotate(0deg); | |
} | |
to { | |
-webkit-transform: rotate(360deg); | |
} | |
} | |
@-moz-keyframes rotateit { | |
from { | |
-moz-transform: rotate(0deg); | |
} | |
to { | |
-moz-transform: rotate(360deg); | |
} | |
} | |
@keyframes rotateit { | |
from { | |
transform: rotate(0deg); | |
} | |
to { | |
transform: rotate(360deg); | |
} | |
} | |
</style> | |
</header> | |
<body> | |
<div class="loader">I</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment