Today I Learned (June 25, 2024)

That Tailwind CSS has built-in CSS pre-processing

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
}