Created
December 8, 2012 09:05
-
-
Save bhargav2785/4239418 to your computer and use it in GitHub Desktop.
TRON 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
/** TRON Clock **/ | |
body{ | |
background-color: black; | |
} | |
.tron{ | |
position: relative; | |
width: 300px; | |
height: 300px; | |
} | |
.tron > span:nth-child(odd){ | |
background-color: #00D9EF; | |
} | |
.tron > span:nth-child(even){ | |
background-color: black; | |
} | |
.c{ | |
position:absolute; | |
border-radius: 50%; | |
} | |
.c1{ | |
width: 100%; | |
height: 100%; | |
} | |
.c2{ | |
width: 90%; | |
height: 90%; | |
margin: 5%; | |
} | |
.c3{ | |
width: 80%; | |
height: 80%; | |
margin: 10%; | |
} | |
.c4{ | |
width: 70%; | |
height: 70%; | |
margin: 15%; | |
} | |
.sec{ | |
position: absolute; | |
left: -webkit-calc(50% - 5%/2); | |
width: 5%; | |
height: 50%; | |
background-color: black; | |
-webkit-transform: rotate(90deg); | |
-webkit-transform-origin: 50% 100%; | |
-webkit-transition: -webkit-transform 15s linear; | |
} | |
.sec:hover{ | |
} |
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
<div class='tron'> | |
<span class='c c1'><span class='sec'></span></span> | |
<span class='c c2'></span> | |
<span class='c c3'></span> | |
<span class='c c4'></span> | |
</div> |
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":"separate","fontsize":"60","seethrough":"","prefixfree":"","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment