Skip to content

Instantly share code, notes, and snippets.

@LulzAugusto
Created June 18, 2015 20:01
Show Gist options
  • Save LulzAugusto/06cfd32433b4b797e226 to your computer and use it in GitHub Desktop.
Save LulzAugusto/06cfd32433b4b797e226 to your computer and use it in GitHub Desktop.
CSS arrow without with shadow/borders
.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