Skip to content

Instantly share code, notes, and snippets.

@enriclluelles
Created September 4, 2013 15:14
Show Gist options
  • Select an option

  • Save enriclluelles/6438418 to your computer and use it in GitHub Desktop.

Select an option

Save enriclluelles/6438418 to your computer and use it in GitHub Desktop.
Rounded arrows with CSS (SO)
/**
* Rounded arrows with CSS (SO)
* http://stackoverflow.com/questions/12461441/rounded-arrows-with-css/12461582#12461582
*/
.arrow {
width: 100px;
height: 100px;
border-radius: 0 0 10% 0;
border: none;
margin: 2em 2.5em;
transform: rotate(45deg) skewX(-5deg) skewY(-5deg);
background: linear-gradient(-45deg, red 10%, black 100%);
}
<!-- content to be placed inside <body>…</body> -->
<div class='arrow'></div>
<div class='arrow'></div>
<div class='arrow'></div>
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment