DEV Community

Jacopo Marrone @tresorama
Jacopo Marrone @tresorama

Posted on

Advanced Tailwind Syntax - Old

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)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay