From d54ab8035ceef1e01c163545ea4a6d8798d10227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Sat, 2 Dec 2017 19:07:31 +0100 Subject: [PATCH] position --- docs/source/docs/positioning.blade.md | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/docs/source/docs/positioning.blade.md b/docs/source/docs/positioning.blade.md index 554434052..5aacc9ff6 100644 --- a/docs/source/docs/positioning.blade.md +++ b/docs/source/docs/positioning.blade.md @@ -404,3 +404,37 @@ For more information about Tailwind's responsive design features, check out the @endslot @endcomponent + +## Customizing + +### Responsive, Hover, and Focus Variants + +By default, no hover, focus, or group-hover variants are generated for positioning utilities. + +You can control which variants are generated for the positioning utilities by modifying the `position` property in the `modules` section of your Tailwind config file. + +For example, this config will _also_ generate hover and focus variants: + +```js +{ + // ... + modules: { + // ... + position: ['responsive', 'hover', 'focus'], + } +} +``` + +### Disabling + +If you aren't using the positioning utilities in your project, you can disable them entirely by setting the `position` property to `false` in the `modules` section of your config file: + +```js +{ + // ... + modules: { + // ... + position: false, + } +} +```