Skip to content

Instantly share code, notes, and snippets.

@brenopolanski
Forked from bennettdams/index.html
Created May 19, 2024 18:00
Show Gist options
  • Save brenopolanski/f262b0595c645f64b2b44ad56792bd32 to your computer and use it in GitHub Desktop.
Save brenopolanski/f262b0595c645f64b2b44ad56792bd32 to your computer and use it in GitHub Desktop.
Rotate a text 180° with TailwindCSS
<div className="flex w-1/6>
<p className="transform rotate-180 text-center" style={{ writingMode: 'vertical-rl' }}>
Text
</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment