In Tailwind's docs, they don't mention how to create a button to take you back to the top, but I've come across one solution for this issue:
when you create and set up your application, copy and paste this code in the top of your page.
`
<img src="yourimage.png" alt="Up Your Page">
<span>Subir Página</span>
`
This button (when you click) does your page return to the first div.
Top comments (0)