Skip to content

Instantly share code, notes, and snippets.

@bennettdams
Created June 23, 2020 11:13
Show Gist options
  • Save bennettdams/79de9705a7914eda23a38b147779f919 to your computer and use it in GitHub Desktop.
Save bennettdams/79de9705a7914eda23a38b147779f919 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