Created
November 10, 2012 13:37
-
-
Save julienborrel/4051075 to your computer and use it in GitHub Desktop.
Triangle 4 chacha
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
/** | |
* Triangle 4 chacha | |
*/ | |
.equitri { | |
width: 0; | |
height: 0; | |
border-width: 0 50px 87px 50px; /* h = a(sqrt(3)/2) = 86,6*/ | |
border-style: solid; | |
border-color: black transparent; | |
transition: all .5s ease-out; | |
} | |
.equitri.tomato { | |
border-color: tomato transparent; | |
} | |
div.center { | |
margin: 0 auto; | |
} | |
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
<body> | |
<div class="equitri center"></div> | |
</body> |
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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment