I know that to create a basic arrow in CSS I can do this:
<div class="arrow-button"> <span class="arrow-tip-container"> <span class="arrow-tip"></span> </span> </div>
Then all I have to do is rotate and place the container, then fill in the arrowhead and BAM! there: sa sweet arrow: http://jsfiddle.net/uF69S/
However, I want an arrow where the tip is effectively 120 ยฐ; angle, so can this effect be achieved using CSS transformations or two different containers? Maybe skew and turn?
I would like to create this arrow:
Please note that the arrow is not 90 ยฐ.
Note: I know that the border triangle can be used to create any corner of the triangle, however they do not support support gradients in Firefox, Opera or IE, while Firefox, Opera and IE can support transformations (in one or the other).
Jai
source share