Skip to content

Commit abec784

Browse files
committed
resize
1 parent 5f9762b commit abec784

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/source/docs/resize.blade.md

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

0 commit comments

Comments
 (0)