Home >Web Front-end >HTML Tutorial >How to rotate each word in a div rotated 90 degrees back_html/css_WEB-ITnose

How to rotate each word in a div rotated 90 degrees back_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:52:022529browse

In the website, an easyAccordion is used to rotate the entire div 90 degrees, and the font is also rotated, as shown in the picture

Now I want to transfer the transferred text back. What should I do? Set style?


Reply to discussion (solution)

You can’t change individual effects! ? Wouldn’t it be enough to narrow the width of the div so that each line can accommodate one word?

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


Add width constraints, set font size, and add line wrapping properties.

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