Dev Helpers
← Back

Flip artwork horizontally

Flip artwork horizontally with Tailwind CSS 4 utilities. The preview uses precompiled styles.

Open this example in the interactive library

Source code

<div class="demo [&_svg]:-scale-x-100">
  <svg viewBox="0 0 80 20" width="80" height="20" role="img" aria-label="Arrow">
    <path
      d="M5 10h65m-12-7 12 7-12 7"
      fill="none"
      stroke="currentColor"
      stroke-width="3"
    />
  </svg>
</div>