Created
May 30, 2012 20:51
-
-
Save ixtli/2838907 to your computer and use it in GitHub Desktop.
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#wrapper div.arrow { | |
top: 232px; | |
width: 100px; | |
height: 100px; | |
position: absolute; | |
overflow: hidden; | |
box-shadow: 0 16px 10px -17px rgba(0, 0, 0, 0.5); | |
} | |
div#wrapper div.arrow:after { | |
content: ""; | |
position: absolute; | |
width: 50px; | |
height: 50px; | |
background: rgb(4, 114, 236); | |
-webkit-transform: rotate(45deg); | |
top: 75px; | |
left: 25px; | |
box-shadow: -1px -1px 10px -2px rgba(0, 0, 0, 0.5); | |
} | |
div#wrapper div.arrow:hover:after { | |
left: 20px; | |
background-color: white; | |
border: 5px solid rgb(255, 0, 132); | |
box-shadow: -1px -1px 10px -2px rgba(255, 0, 0, 0.5); | |
} | |
div#wrapper div.arrow#left { | |
left: -89px; | |
-webkit-transform: rotate(-90deg); | |
} | |
div#wrapper div.arrow#right { | |
right: -89px; | |
-webkit-transform: rotate(90deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment