Skip to content

Instantly share code, notes, and snippets.

@bhargav2785
Created November 5, 2012 07:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhargav2785/4015905 to your computer and use it in GitHub Desktop.
Save bhargav2785/4015905 to your computer and use it in GitHub Desktop.
Curved arrow
/* Curved arrow */
.curved-arrow{
position: relative;
left: 100px;
top: 100px;
width: 0;
height: 0;
border-right: 12px solid red;
border-top: 12px solid transparent;
transform: rotate(20deg);
}
.curved-arrow:after{
content: '';
position: absolute;
width: 20px;
height: 20px;
border-right: 3px solid red;
border-radius: 0 30px 0 0;
left: -18px;
top: -15px;
transform: rotate(-45deg);
}
.reverse{
top: 120px;
transform: rotate(180deg);
}
<div class='curved-arrow'></div>
<div class='curved-arrow reverse'></div>
{"view":"separate","fontsize":"60","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment