DEV Community

Jacopo Marrone @tresorama
Jacopo Marrone @tresorama

Posted on

1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs