Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Bootstrap? So passé. Just sprinkle in a dash of Tailwind:

<button class="bg-blue-600 px-4 py-3 text-center text-sm font-semibold inline-block text-white cursor-pointer uppercase transition duration-200 ease-in-out rounded-md hover:bg-blue-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600 focus-visible:ring-offset-2 active:scale-95">Hello world!</button>



Oh my god it’s so modern and innovative, can you imagine living in the past when you couldn’t simply define an element’s entire style block right there in the tag itself??




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: