Work in progress!
More detailed documentation is coming soon, but in the meantime here’s a quick class reference.
Class reference
Customizing
Responsive and State Variants
By default, only responsive variants are generated for user-select utilities.
You can control which variants are generated for the user-select utilities by modifying the userSelect
property in the modules
section of your Tailwind config file.
For example, this config will also generate hover and focus variants:
Disabling
If you don’t plan to use the user-select utilities in your project, you can disable them entirely by setting the userSelect
property to false
in the modules
section of your config file:
当前内容版权归 tailwindcss 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 tailwindcss .