JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>test page</title>
</head>
<body>
<table>
<tr>
<td class="dynamic">text 1</td>
<td class="dynamic">text 2</td>
</tr>
<tr>
<td>hello</td>
<td>world</td>
</tr>
</table>
</body>
</html>
CSS
.dynamic{
writing-mode: tb-rl;
/*Would like to find the class by the writing-mode property then add the properties below:*/
/*-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);*/
}