From 7e4a22f7af55192a53d90ec6e6bfeacd213c169d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor=20Lopes?= Date: Mon, 9 Sep 2024 04:10:40 -0300 Subject: [PATCH] feat(docs): dynamic css use tailwind (#2646) close #2626 --------- Co-authored-by: Marvin Hagemeister --- docs/latest/examples/migrating-to-tailwind.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/latest/examples/migrating-to-tailwind.md b/docs/latest/examples/migrating-to-tailwind.md index 5eed1458..7b592242 100644 --- a/docs/latest/examples/migrating-to-tailwind.md +++ b/docs/latest/examples/migrating-to-tailwind.md @@ -118,6 +118,15 @@ That's it! Now you can use Tailwind CSS in your project. > | `[data-current]:bg-red-600` | `data-[current]:bg-red-300` | > | `[aria-current]:bg-red-600` | `aria-[current]:bg-red-300` | +> [warn]: Tailwind CSS does not allow you to generate and apply CSS classes +> dynamically, which means you need to explicitly specify the class you want to +> apply. In other words, to use dynamic classes, you need to ensure that they +> are present in the final CSS file. +> +> | Twind | Tailwind CSS | +> | --------------------------------- | ------------------------------------------------------------ | +> | `` | `` | + ## Frequently Asked Questions (FAQ) ### What are the differences between twind and Tailwind CSS?