我将 css 添加到 div
.rotate {
height: 50px;
width: 50px;
padding: 1px;
font-family:Arial, Helvetica, sans-serif; font-size:12px;
margin-top:45px;
margin-bottom:10px;
-webkit-transform: rotate(-90deg); /* safari/chrome */
-moz-transform: rotate(-90deg); /* firefox 3.5+ */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* ie5.5+ */
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; /* IE8 */
display:block;
text-overflow:ellipsis;
overflow:hidden;
}
显示的 div 在每条垂直线上呈现...!