diff --git a/docs/source/docs/border-width.blade.md b/docs/source/docs/border-width.blade.md index 19dca9611..3d0a0b749 100644 --- a/docs/source/docs/border-width.blade.md +++ b/docs/source/docs/border-width.blade.md @@ -37,3 +37,37 @@ For example, `.border` would add a `1px` border to all sides of the element, whe
8 8px
+ +## Customizing + +### Responsive, Hover, and Focus Variants + +By default, no hover, focus, or group-hover variants are generated for border width utilities. + +You can control which variants are generated for the border width utilities by modifying the `borderWidths` property in the `modules` section of your Tailwind config file. + +For example, this config will _also_ generate hover and focus variants: + +```js +{ + // ... + modules: { + // ... + borderWidths: ['responsive', 'hover', 'focus'], + } +} +``` + +### Disabling + +If you aren't using the border width utilities in your project, you can disable them entirely by setting the `borderWidths` property to `false` in the `modules` section of your config file: + +```js +{ + // ... + modules: { + // ... + borderWidths: false, + } +} +```