I have a table with long headers.
I'm trying to rotate the text so that it passes from the bottom of the cell to the top.
I tried the writing-mode: vertical-rl; combination writing-mode: vertical-rl; and transform: rotate(-180deg);
The best I could think of was to add translateY(-100%) to the transform property.
I managed to place the text the way I wanted - so that it was at the bottom of the table cell, but now I can’t figure out how to move all this back down to align it properly.
td span { border: 1px solid red; height: 200px; writing-mode: vertical-rl; transform: rotate(-180deg) translateY(-100%); } td { border: 1px solid; } <table> <tr> <td></td> <td><span>Tickets Included</span></td> <td><span>Best Seats</span></td> <td><span>Parking at tde Firehall tdeatre</span></td> <td><span>Tax Receipt Over Ticket Value</span></td> <td><span>Repeat Visits</span></td> <td><span>Voting Rights at tde AGM</span></td> <td><span>Playbill Listing</span></td> <td><span>Page to Stage Events</span></td> <td><span>Discounted Patron Rates for Additional Tickets</span></td> <td><span>Complimentary Beverage on Opening Night</span></td> <td><span>Front of tde Line Access</span></td> <td><span>Brochure Listing</span></td> <td><span>Parking at tde Springer tdeatre</span></td> <td><span>Invitation to First Day of Rehearsals</span></td> <td><span>Montdly 'Insider's Group'</span></td> <td><span>End of Season Dinner</span></td> </tr> <tr><td>Visionary<br>($10,000+)</td><td>30</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td></tr> <tr><td>Champion<br>($4,000-9,995)</td><td>20</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td></tr> <tr><td>Guardian<br>($1,400-3,995)</td><td>16</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td></td></tr> <tr><td>Benefactor<br>($690-1,399)</td><td>10</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td></td><td></td><td></td><td></td></tr> <tr><td>Partner<br>($490-685)</td><td>7</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td>Supporter<br>($390-485)</td><td>5</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td>•</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> </table> Based on a question from @dotwongdotcom .