Skip to content

Commit b67d4f1

Browse files
committed
float
1 parent a8c4b60 commit b67d4f1

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/source/docs/floats.blade.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,37 @@ features:
3535
],
3636
]
3737
])
38+
39+
## Customizing
40+
41+
### Responsive, Hover, and Focus Variants
42+
43+
By default, no hover, focus, or group-hover variants are generated for float utilities.
44+
45+
You can control which variants are generated for the float utilities by modifying the `float` property in the `modules` section of your Tailwind config file.
46+
47+
For example, this config will _also_ generate hover and focus variants:
48+
49+
```js
50+
{
51+
// ...
52+
modules: {
53+
// ...
54+
float: ['responsive', 'hover', 'focus'],
55+
}
56+
}
57+
```
58+
59+
### Disabling
60+
61+
If you aren't using the float utilities in your project, you can disable them entirely by setting the `float` property to `false` in the `modules` section of your config file:
62+
63+
```js
64+
{
65+
// ...
66+
modules: {
67+
// ...
68+
float: false,
69+
}
70+
}
71+
```

0 commit comments

Comments
 (0)