You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/docs/state-variants.blade.md
+37-6Lines changed: 37 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,6 @@ Similar to our [responsive prefixes](/docs/responsive-design), Tailwind makes it
8
8
9
9
## Hover
10
10
11
-
*By default, **hover variants are only generated for background color, border color, and text color utilities.** You can customize this in the [modules section](/docs/configuration#modules) of your configuration file.*
12
-
13
11
Add the `hover:` prefix to only apply a utility on hover.
<p class="mb-2"><strong>By default, hover variants are only generated for background color, border color, and text color utilities.</strong></p>
33
+
<p>You can customize this in the <a href="/docs/configuration#modules" class="underline">modules section</a> of your configuration file.</p>
34
+
</div>
35
+
</div>
36
+
</div>
29
37
30
-
*By default, **focus variants are not generated for any utilities.** You can customize this in the [modules section](/docs/configuration#modules) of your configuration file.*
38
+
39
+
## Focus
31
40
32
41
Add the `focus:` prefix to only apply a utility on focus.
33
42
@@ -41,10 +50,20 @@ Add the `focus:` prefix to only apply a utility on focus.
<p class="mb-2"><strong>By default, focus variants are not generated for any utilities.</strong></p>
60
+
<p>You can customize this in the <a href="/docs/configuration#modules" class="underline">modules section</a> of your configuration file.</p>
61
+
</div>
62
+
</div>
63
+
</div>
44
64
45
-
## Group Hover
46
65
47
-
*By default, **group hover variants are not generated for any utilities.** You can customize this in the [modules section](/docs/configuration#modules) of your configuration file.*
66
+
## Group Hover
48
67
49
68
If you need to style a child element when hovering over a specific parent element, add the `.group` class to the parent element and add the `group-hover:` prefix to the utility on the child element.
50
69
@@ -63,6 +82,18 @@ If you need to style a child element when hovering over a specific parent elemen
0 commit comments