Created
August 13, 2013 23:01
-
-
Save nicoespeon/6226560 to your computer and use it in GitHub Desktop.
Untitled
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
@-keyframes reveal { | |
0% { | |
left: 0; | |
} | |
100% { | |
left: 100%; | |
} | |
} | |
.container { | |
position: relative; | |
top: 0; | |
left: 0; | |
} | |
.cache { | |
position: absolute; | |
z-index: 10; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
background-color: white; | |
animation: reveal 10s linear infinite; | |
} | |
.line { | |
position: absolute; | |
z-index: 1; | |
top: 0; | |
left: 0; | |
height: 5px; | |
width: 0; | |
background-color: blue; | |
} | |
.line-bis { | |
background-color: orange; | |
} | |
.master { | |
width: 500px; | |
} | |
.develop-l { | |
top: 0; | |
left: 50px; | |
width: 50px; | |
transform: rotate(45deg); | |
transform-origin: 0 0; | |
} | |
.develop { | |
left: 82px; | |
top: 34px; | |
width: 200px; | |
} | |
.commit { | |
position: absolute; | |
z-index: 2; | |
border: 5px blue solid; | |
background-color: white; | |
width: 10px; | |
height: 10px; | |
border-radius: 10px; | |
} | |
.commit-bis { | |
border-color: orange; | |
} | |
.commit-last { | |
top: -7px; | |
left: 480px; | |
} | |
.commit-first { | |
top: 28px; | |
left: 100px; | |
} | |
.commit-second { | |
top: 28px; | |
left: 160px; | |
} | |
.commit-third { | |
top: 28px; | |
left: 220px; | |
} | |
.commit-fourth { | |
top: 28px; | |
left: 280px; | |
} | |
.commit-merge { | |
top: -5px; | |
left: 45px; | |
} |
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
<div class="container"> | |
<div class="cache"></div> | |
<div class="line master"></div> | |
<div class="line line-bis develop-l"></div> | |
<div class="line line-bis develop"></div> | |
<div class="commit commit-last"></div> | |
<div class="commit commit-merge"></div> | |
<div class="commit commit-bis commit-first"></div> | |
<div class="commit commit-bis commit-second"></div> | |
<div class="commit commit-bis commit-third"></div> | |
<div class="commit commit-bis commit-fourth"></div> | |
</div> |
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
// alert('Hello world!'); |
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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment