Created
June 18, 2015 20:01
-
-
Save LulzAugusto/06cfd32433b4b797e226 to your computer and use it in GitHub Desktop.
CSS arrow without with shadow/borders
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
.tago-infobox-arrow { | |
position: absolute; | |
width: 32px; | |
height: 32px; | |
left: 50%; | |
margin-left: -16px; | |
bottom: -32px; | |
overflow: hidden; | |
&:before { | |
content: ''; | |
position: absolute; | |
width: 16px; | |
height: 16px; | |
top: -8px; | |
left: 8px; | |
background-color: #fff; | |
box-shadow: 0px 0px 1px 1px rgba(0,0,0,.2); | |
transform: rotate(45deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment