I’m trying to rotate an arrow so it faces down, but not sure if this is possible
HTML
<a href="/test/">test <span id="rotate">»</span></a>
CSS
span#rotate{
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
If you want to keep the element behaving like the inline span that it is, but also want to rotate it, then you will need to use
display: inline-block;on it. This won’t force it to a new line likedisplay: block;naturally would.Here is the correct code (jsFiddle: http://jsfiddle.net/joshnh/wZpP9/):