diff --git a/docs/latest/examples/migrating-to-tailwind.md b/docs/latest/examples/migrating-to-tailwind.md index 4c61756b..b0779e33 100644 --- a/docs/latest/examples/migrating-to-tailwind.md +++ b/docs/latest/examples/migrating-to-tailwind.md @@ -105,7 +105,13 @@ That's it! Now you can use Tailwind CSS in your project. > [warn]: Tailwind CSS doesn't support the grouping syntax from twind: > `text(lg uppercase gray-100)`. These need to be rewritten to their expanded -> values like `text-lg uppercase text-gray-100`. +> values like `text-lg uppercase text-gray-100`. Selecting `data-*` or `aria-*` +> attributes works a little different with Tailwind CSS as well. +> +> | Twind | Tailwind CSS | +> | --------------------------- | --------------------------- | +> | `[data-current]:bg-red-600` | `data-[current]:bg-red-300` | +> | `[aria-current]:bg-red-600` | `aria-[current]:bg-red-300` | ## Frequently Asked Questions (FAQ)