Skip to content

Instantly share code, notes, and snippets.

@tankred
Last active August 29, 2015 14:11
Show Gist options
  • Save tankred/5540e0fcdde2df344d5d to your computer and use it in GitHub Desktop.
Save tankred/5540e0fcdde2df344d5d to your computer and use it in GitHub Desktop.
you are here
<div class="center">
<div id="yah"></div>
</div>
#yah {
position: relative;
width: 64px;
height: 160px;
}
#yah:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
border: 20px solid #fff;
-moz-border-radius: 50px 50px 0 50px;
border-radius: 50px 50px 0 50px;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(45deg);
background-color:#fff;
}
body {
background:#1D1F20;
}
.center {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment