JSFiddle - React, Tailwind, and code Playground

HTML

<div>Hello</div>

CSS

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