DEV Community

Jacopo Marrone @tresorama
Jacopo Marrone @tresorama

Posted on

Advanced Tailwind Syntax

It's common to use Tailwind with classes like m-4 bg-red-500 that use the theme tokens.

Tailwind Docs is well done and covers everything.

But when you need to write CSS that doesn't use theme, you are using the tailwind syntax for arbitrary rules.

This is when you can find this cheat sheet useful.

Image description

Feel free to suggest something that is missing...

Top comments (0)