I'm currently on a project, where I would like to rotate text in a container where the edges of the text should align to the edges of the container.
If I rotate it normally it would result in the following: http://jsfiddle.net/lumio/a3Z4C/
As you can see, the text flows out of the container, but I want to have it within it.
So not the complete text should be rotated, but the lines, which should then be aligned to the container.
Does anyone know a solution with CSS or JS?
Best wishes