← Tailwind CSS classes list

Tailwind CSS class: .rotate-45

<div class="rotate-45 transform bg-teal-400 p-4 m-6 inline-flex">45</div>

Preview

45

CSS source

.rotate-45 { --transform-rotate: 45deg; }

More in Tailwind CSS Transform