Tailwind CSS is a PostCSS plugin and provides some custom CSS extensions.
For example, the @apply
keyword allows putting classes on specific elements using a CSS selector. The following changes the font family of every h1
within the main
element to the default serif font
main h1 {
@apply font-serif
}