Vertically-oriented text?

I’m trying to build an application with the interface which looks similar to a book shelf. To give you a quick idea you get a list of item names (imagine books) displayed next to each other and then there are next and previous buttons on both sides.

My problem is that I’d like to see the item names displayed vertically, not one letter on top of each other, but as if it’s rotated by 90degrees counter clockwise (like they are written on the side of books)… and as far as i know HTML can’t render text in that way…

but i’ve seen some crazy stuff lately with JavaScript and CSS, maybe someone has figured out how to do this too? :slight_smile:

I appreciate any help, even if it’s just ideas for the interface, or links to something similar.