Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

tailwind @apply

@tailwind base;

@tailwind components;

.btn-blue {
  @apply bg-blue-500 text-white font-bold py-2 px-4 rounded;
}
.btn-blue:hover {
  @apply bg-blue-700;
}

@tailwind utilities;
Source by tailwindcss.com #
 
PREVIOUS NEXT
Tagged: #tailwind
ADD COMMENT
Topic
Name
1+8 =