Home  >  Article  >  Web Front-end  >  如何将旋转90度的div中的每一个字再旋转回来_html/css_WEB-ITnose

如何将旋转90度的div中的每一个字再旋转回来_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:52:022363browse

网站中,用到了一个easyAccordion,是把整个div转了个90度的,字体也跟着转过去了,如图

现在想把转过去的文字给转回来,应该如何设置样式?


回复讨论(解决方案)

你就不能换个别的效果!?  把div宽度变窄,每行能容纳一个字不就行了!

font-size: 14px;word-wrap: break-word;word-break: normal;width: 14px;


添加宽度限制,设置字体大小,并增加换行属性。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn