I am trying to get a string with each individual letter rotated 90 degrees; however, I want to keep the "flow" of letters going left-to-right, not vertical. I also want to keep that "strikethrough" horizontal green line (see images below).
What's the simplest way to accomplish this? I prefer using JavaScript and/or CSS.
With the -transform: rotate
CSS style I get the following:
<style type="text/css">
.rotate {
-webkit-transform: rotate(-90deg);
}
</style>
<body>
<div class="rotate">
<span style="color:#0C0; text-decoration:line-through;">
<span style="color:#000;">
A B C
</span></span></div>
What I would like to get is something like this, without resorting to a custom font.
display
likeinline-block
: jsfiddle.net/UsMxL/3 – Wesley Murch Sep 27 '12 at 22:54