Open this example in the interactive library
Source code
<button class="demo active:translate-y-0.5" type="button">
Try this button
</button>
Give an active button press feedback with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<button class="demo active:translate-y-0.5" type="button">
Try this button
</button>