Created
April 4, 2012 21:02
-
-
Save ginirsss/2305632 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
body { | |
background: #D3D3D3; | |
font-family: Helvetica; | |
} | |
div#up { | |
margin: 100px auto; | |
width:0px; | |
height:0px; | |
border-left:150px solid transparent; /* left arrow slant */ | |
border-right:150px solid transparent; /* right arrow slant */ | |
border-bottom:200px solid #2f2f2f; /* bottom, add background color here */ | |
} | |
div#up:hover { | |
border-left:150px solid transparent; /* left arrow slant */ | |
border-right:150px solid transparent; /* right arrow slant */ | |
border-bottom:200px solid #f33; /* bottom, add background color here */ | |
-webkit-transform: rotate(10deg); | |
-moz-transform: rotate(10deg); | |
-webkit-transition: background 0.5s ease-in; | |
-moz-transition: background 0.5s ease-in; | |
-o-transition: background 0.5s ease-in; | |
transition: background 0.5s ease-in; | |
} |
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 id="position:relative;"> | |
<!-- UP --> | |
<div id="up"></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
{"view":"separate","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment