Open this example in the interactive library
Source code
<div class="demo w-fit translate-x-5">Translate along the X axis</div>
Translate along the X axis with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo w-fit translate-x-5">Translate along the X axis</div>