Is there a way to create 4 thick arrows pointing up, down, left and right using only html and css? Itβs very easy to create an arrowhead using s and borders ... These are the diagonal lines of the arrowhead that I donβt know how to do.
I need this to work in IE7 + and in all modern browsers. I use jQuery and am happy to depend on it. This should be tightly integrated with other html elements, so I don't want to use something like Raphael to draw it. Images are problematic because they are difficult to scale smoothly.
I tried unicode characters for arrows (html objects β¦, β§, β¨ and β©). That would be a solution, but in each browser they look very different. Other problems with this include the inability to at least make the inside of the arrows opaque.
Ideally, I can fill the arrows with a gradient.
source share