diff --git a/docs/latest/examples/active-links.md b/docs/latest/examples/active-links.md index 49d1258b..a69ba6f0 100644 --- a/docs/latest/examples/active-links.md +++ b/docs/latest/examples/active-links.md @@ -33,14 +33,28 @@ a[aria-current='true'] { ## Tailwind / Twind -In Tailwind or similar CSS frameworks, you can apply styles to elements with the -aria-current attribute by using bracket notation in your class definitions. +In Tailwind or similar CSS frameworks like Twind, you can apply styles to +elements with the aria-current attribute using bracket notation in your class +definitions. However, the specific syntax varies slightly between Tailwind and +Twind. For Tailwind, use the syntax: + +```tsx +function Menu() { + return ( + + Link to some page + + ); +} +``` + +For Twind, the syntax is: ```tsx function Menu() { return ( - link to some page + Link to some page ); }