JSFiddle - React, Tailwind, and code Playground

HTML

<div>Hello</div>

CSS

div {
  display: inline-block;
  --test: calc(45 * 1deg);
  transform: rotate(var(--test));
}