summaryrefslogtreecommitdiff
path: root/examples/with-tailwindcss/src/components/Button.astro
blob: 64baa50aee0976307d99ec388cb48fe9b3b3a430 (plain) (blame)
1
2
3
<button class="py-2 px-4 bg-green-500 text-white font-semibold rounded-lg shadow-md hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-green-400 focus:ring-opacity-75">
  <slot />
</button>