I am trying to draw a left side arrow that has a gradient. Here is the code I am using, however I don't understand why it doesn't work.
.left-arrow{
position: relative;
&:after{
right: 100%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(51, 51, 51, 0);
border-right-color: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(115,9,9,1)), color-stop(100%, rgba(236,0,0,1)));
border-right-color: -webkit-linear-gradient(top, rgba(115,9,9,1) 0%, rgba(236,0,0,1) 100%);
border-right-color: linear-gradient(to bottom, rgba(115,9,9,1) 0%, rgba(236,0,0,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#730909', endColorstr='#ec0000', GradientType=0 );
border-width: 50px 20px 50px 0;
margin-top: -50px;
}
}
Here is en example. I just wish to add gradient to that arrow on the left. http://jsfiddle.net/6zWB3/2/