Extract styles 3 9 / 17
You can also create your own classes. After all, it's utility-first, not utility-only.
Use @apply
to make use of Tailwind's styles (requires postCSS compilation).
Try replacing the styles for .btn-primary
with @apply bg-green-400 uppercase;
.
Use theme
to include a color or size in expressions.
You can also create responsive classes and variants for your classes. Read more in the docs once you require such behaviour (No need to stress it now).