Created
January 27, 2012 10:40
-
-
Save colourgarden/1688228 to your computer and use it in GitHub Desktop.
Spinning timer two
This file contains 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
/** | |
* Spinning timer two | |
*/ | |
html{ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height:100%; | |
} | |
.spinner{ | |
position: absolute; | |
display: block; | |
width: 100px; | |
height: 100px; | |
left: 50%; | |
margin-left: -50px; | |
top: 40%; | |
background: #fff; | |
border-radius: 100% 100% 50%; | |
animation: rotate 1s infinite linear; | |
} | |
@keyframes rotate { | |
to{ transform: rotate(360deg); } | |
} |
This file contains 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
<!-- content to be placed inside <body>…</body> --> | |
<span class="spinner"></span> |
This file contains 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
{"view":"split","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment