使用此类添加一个跨度(或更改 css 选择器),应该这样做
.textWrapper{
background: #FFF;
display: inline-block; /* inline doenst work, block seems to make it switch CC<->CCW */
-moz-transform:rotate(90deg); /* FireFox*/
-webkit-transform:rotate(90deg); /* Safari and Chrome */
-o-transform:rotate(90deg); /* Opera */
-ms-transform:rotate(90deg); /* IE9 */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; /* IE8 */
transform: rotate(90deg);/* The way it should work: */
}
这可能会转向错误的方式,只需将其更改为 -90 或 270 度。请记住,IE8 对奇数(如 67)不太会做,坚持 45 度步长以避免我没有为 IE7 或更早版本添加代码,那些应该毫不留情地烧掉。
非常简单的小提琴:http: //jsfiddle.net/DqTe6/1/。这不会改善字体。您可能需要使用图像。通常我更喜欢文本而不是图像,但文本“菜单”没有任何 SEO 价值