Skip to content

Commit a8c4b60

Browse files
committed
display
1 parent 50e79c5 commit a8c4b60

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/source/docs/display.blade.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,37 @@ features:
6060
],
6161
]
6262
])
63+
64+
## Customizing
65+
66+
### Responsive, Hover, and Focus Variants
67+
68+
By default, no hover, focus, or group-hover variants are generated for display utilities.
69+
70+
You can control which variants are generated for the display utilities by modifying the `display` property in the `modules` section of your Tailwind config file.
71+
72+
For example, this config will _also_ generate hover and focus variants:
73+
74+
```js
75+
{
76+
// ...
77+
modules: {
78+
// ...
79+
display: ['responsive', 'hover', 'focus'],
80+
}
81+
}
82+
```
83+
84+
### Disabling
85+
86+
If you aren't using the display utilities in your project, you can disable them entirely by setting the `display` property to `false` in the `modules` section of your config file:
87+
88+
```js
89+
{
90+
// ...
91+
modules: {
92+
// ...
93+
display: false,
94+
}
95+
}
96+
```

0 commit comments

Comments
 (0)