Skip to content

Commit bf2e85f

Browse files
authored
Add link to layers for further clarity (#854)
New to Tailwind and was reviewing the docs for the first time. I spent a while trying to figure out what layers were after learning about extracting components. Couldn't find an explanation for a while, so a link would be helpful.
1 parent 205a8ec commit bf2e85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/docs/extracting-components.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Here's what a `btn-indigo` class might look like using `@apply` to compose it fr
176176
</style>
177177
```
178178

179-
To avoid unintended specificity issues, we recommend wrapping your custom component styles with the `@layer components { ... }` directive to tell Tailwind what layer those styles belong to:
179+
To avoid unintended specificity issues, we recommend wrapping your custom component styles with the `@layer components { ... }` directive to tell Tailwind what [layer](/docs/functions-and-directives#layer) those styles belong to:
180180

181181
```css
182182
@tailwind base;

0 commit comments

Comments
 (0)