Created
August 1, 2016 12:02
-
-
Save zhishaofei3/95b311acbf9c3488ba20b4701d4517d2 to your computer and use it in GitHub Desktop.
Untitled
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
.clock { | |
width: 100px; | |
height: 100px; | |
background-color: #333; | |
position: relative; | |
border-radius: 50%; | |
} | |
.clock:after { | |
content: ""; | |
width: 50px; | |
height: 2px; | |
background-color: #FFF; | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
animation: clock 60s linear infinite; | |
transform-origin: 0 0; | |
} | |
@keyframes clock { | |
from { transform: rotate(-.25turn); } | |
to { transform: rotate(.75turn); } | |
} |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"130","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment