I have a rotated text within a div. I want to align the span to the "right" (see red arrow) of the div
<div class="rotateText">
<span>This is a rotated multiline text please display it in a correct way. This is a rotated multiline text please display it in a correct way</span>
</div>
.rotateText{
width: 200px;
height: 300px;
writing-mode: tb-rl;
transform: rotate(-180deg);
background-color: yellow;
}

Pretty simple way to do this would be with
position: absolute. Applyrelativeto the parent container so you can anchor the span to it, and then setleft: 0. This will make the text hug the bottom of the container.This will result in this:
If you want to just rotate the entire box just remove the
transformproperty. Resulting in: